Package com.itextpdf.kernel.pdf
Class PdfDashPattern
- java.lang.Object
-
- com.itextpdf.kernel.pdf.PdfDashPattern
-
public class PdfDashPattern extends java.lang.ObjectRepresents the line dash pattern. The line dash pattern shall control the pattern of dashes and gaps used to stroke paths. It shall be specified by a dash, gap and a dash phase.
-
-
Constructor Summary
Constructors Constructor Description PdfDashPattern()Creates a new line dash pattern.PdfDashPattern(float dash)Creates a new line dash pattern.PdfDashPattern(float dash, float gap)Creates a new line dash pattern.PdfDashPattern(float dash, float gap, float phase)Creates a new line dash pattern.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatgetDash()Gets dash of PdfDashPattern.floatgetGap()Gets gap of PdfDashPattern.floatgetPhase()Gets phase of PdfDashPattern.
-
-
-
Constructor Detail
-
PdfDashPattern
public PdfDashPattern()
Creates a new line dash pattern.
-
PdfDashPattern
public PdfDashPattern(float dash)
Creates a new line dash pattern.- Parameters:
dash- length of dash
-
PdfDashPattern
public PdfDashPattern(float dash, float gap)Creates a new line dash pattern.- Parameters:
dash- length of dashgap- length of gap
-
PdfDashPattern
public PdfDashPattern(float dash, float gap, float phase)Creates a new line dash pattern.- Parameters:
dash- length of dashgap- length of gapphase- this is the phase
-
-