Package com.itextpdf.svg.css
Class SvgStrokeParameterConverter.PdfLineDashParameters
java.lang.Object
com.itextpdf.svg.css.SvgStrokeParameterConverter.PdfLineDashParameters
- Enclosing class:
- SvgStrokeParameterConverter
This class represents PDF dash parameters.
-
Constructor Summary
ConstructorDescriptionPdfLineDashParameters
(float[] dashArray, float dashPhase) Construct PDF dash parameters. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Check if some object is equal to the given object.float[]
Return dash array.float
Return dash phase.int
hashCode()
Generate a hash code for this object.
-
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
Check if some object is equal to the given object. -
hashCode
public int hashCode()Generate a hash code for this object.
-