Class SvgStrokeParameterConverter.PdfLineDashParameters

java.lang.Object
com.itextpdf.svg.css.SvgStrokeParameterConverter.PdfLineDashParameters
Enclosing class:
SvgStrokeParameterConverter

public static class SvgStrokeParameterConverter.PdfLineDashParameters extends Object
This class represents PDF dash parameters.
  • 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

      public boolean equals (Object o)
      Check if some object is equal to the given object.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Generate a hash code for this object.
      Overrides:
      hashCode in class Object
      Returns:
      hash code.