Class SvgStrokeParameterConverter.PdfLineDashParameters
java.lang.Object
com.itextpdf.svg.css.SvgStrokeParameterConverter.PdfLineDashParameters
- Enclosing class:
SvgStrokeParameterConverter
This class represents PDF dash parameters.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPdfLineDashParameters(float[] dashArray, float dashPhase) Construct PDF dash parameters. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck if some object is equal to the given object.float[]Return dash array.floatReturn dash phase.inthashCode()Generate a hash code for this object.
-
Field Details
-
dashArray
private final float[] dashArray -
dashPhase
private final float dashPhase
-
-
Constructor Details
-
PdfLineDashParameters
public PdfLineDashParameters(float[] dashArray, float dashPhase) Construct PDF dash parameters.- Parameters:
dashArray- Numbers that specify the lengths of alternating dashes and gaps; the numbers shall be nonnegative and not all zero.dashPhase- A number that specifies the distance into the dash pattern at which to start the dash.
-
-
Method Details
-
getDashArray
public float[] getDashArray()Return dash array.- Returns:
- dash array.
-
getDashPhase
public float getDashPhase()Return dash phase.- Returns:
- dash phase.
-
equals
-
hashCode
-