public class PDLineDashPattern extends Object implements COSObjectable, Cloneable
| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
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.
|
boolean |
isDashPatternEmpty()
Checks if the dashPattern is empty or all values equals 0.
|
void |
setDashPattern(List dashPattern)
This will replace the existing line dash pattern.
|
void |
setPhaseStart(int phase)
This will set the line dash pattern phase.
|
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.public COSBase getCOSObject()
getCOSObject in interface COSObjectablepublic 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.public boolean isDashPatternEmpty()
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.