| |
|
| java.lang.Object org.pdfbox.pdmodel.graphics.PDLineDashPattern
PDLineDashPattern | public class PDLineDashPattern implements COSObjectable(Code) | | This class represents the line dash pattern for a graphics state. See PDF
Reference 1.5 section 4.3.2
author: Ben Litchfield version: $Revision: 1.6 $ |
PDLineDashPattern | public PDLineDashPattern()(Code) | | Creates a blank line dash pattern. With no dashes and a phase of 0.
|
PDLineDashPattern | public PDLineDashPattern(COSArray ldp)(Code) | | Constructs a line dash pattern from an existing array.
Parameters: ldp - The existing line dash pattern. |
PDLineDashPattern | public PDLineDashPattern(COSArray ldp, int phase)(Code) | | Constructs a line dash pattern from an existing array.
Parameters: ldp - The existing line dash pattern. Parameters: phase - The phase for the line dash pattern. |
getCOSDashPattern | public COSArray getCOSDashPattern()(Code) | | Get the line dash pattern as a COS object.
The cos array line dash pattern. |
getDashPattern | public List getDashPattern()(Code) | | This will return a list of java.lang.Integer objects that represent the line
dash pattern appearance.
The line dash pattern. |
getPhaseStart | public int getPhaseStart()(Code) | | This will get the line dash pattern phase. The dash phase specifies the
distance into the dash pattern at which to start the dash.
The line dash pattern phase. |
setDashPattern | public void setDashPattern(List dashPattern)(Code) | | This will replace the existing line dash pattern.
Parameters: dashPattern - A list of java.lang.Integer objects. |
setPhaseStart | public void setPhaseStart(int phase)(Code) | | This will set the line dash pattern phase.
Parameters: phase - The new line dash patter phase. |
|
|
|