|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pdfbox.pdmodel.graphics.PDLineDashPattern
This class represents the line dash pattern for a graphics state. See PDF Reference 1.5 section 4.3.2
Constructor Summary | |
PDLineDashPattern()
Creates a blank line dash pattern. |
|
PDLineDashPattern(COSArray ldp)
Constructs a line dash pattern from an existing array. |
|
PDLineDashPattern(COSArray ldp,
int phase)
Constructs a line dash pattern from an existing array. |
Method Summary | |
COSArray |
getCOSDashPattern()
Get the line dash pattern as a COS object. |
COSBase |
getCOSObject()
Convert this standard java object to a COS object. |
List |
getDashPattern()
This will return a list of java.lang.Integer objects that represent the line dash pattern appearance. |
int |
getPhaseStart()
This will get the line dash pattern phase. |
void |
setDashPattern(List dashPattern)
This will replace the existing line dash pattern. |
void |
setPhaseStart(int phase)
This will set the line dash pattern phase. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PDLineDashPattern()
public PDLineDashPattern(COSArray ldp)
ldp
- The existing line dash pattern.public PDLineDashPattern(COSArray ldp, int phase)
ldp
- The existing line dash pattern.phase
- The phase for the line dash pattern.Method Detail |
public COSBase getCOSObject()
getCOSObject
in interface COSObjectable
public int getPhaseStart()
public void setPhaseStart(int phase)
phase
- The new line dash patter phase.public List getDashPattern()
public COSArray getCOSDashPattern()
public void setDashPattern(List dashPattern)
dashPattern
- A list of java.lang.Integer objects.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |