Package com.itextpdf.svg.css
Class SvgStrokeParameterConverter.PdfLineDashParameters
- java.lang.Object
-
- com.itextpdf.svg.css.SvgStrokeParameterConverter.PdfLineDashParameters
-
- Enclosing class:
- SvgStrokeParameterConverter
public static class SvgStrokeParameterConverter.PdfLineDashParameters extends java.lang.Object
This class represents PDF dash parameters.
-
-
Constructor Summary
Constructors Constructor Description PdfLineDashParameters(float[] dashArray, float dashPhase)
Construct PDF dash parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
Check if some object is equal to the given object.float[]
getDashArray()
Return dash array.float
getDashPhase()
Return dash phase.int
hashCode()
Generate a hash code for this object.
-
-
-
Constructor Detail
-
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 Detail
-
getDashArray
public float[] getDashArray()
Return dash array.- Returns:
- dash array.
-
getDashPhase
public float getDashPhase()
Return dash phase.- Returns:
- dash phase.
-
equals
public boolean equals(java.lang.Object o)
Check if some object is equal to the given object.- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
Generate a hash code for this object.- Overrides:
hashCode
in classjava.lang.Object
- Returns:
- hash code.
-
-