Class SvgStrokeParameterConverter.PdfLineDashParameters

  • Enclosing class:
    SvgStrokeParameterConverter

    public static class SvgStrokeParameterConverter.PdfLineDashParameters
    extends java.lang.Object
    This class represents PDF dash parameters.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private float[] dashArray  
      private float dashPhase  
    • 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.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • dashArray

        private final float[] dashArray
      • dashPhase

        private final float dashPhase
    • 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 class java.lang.Object
      • hashCode

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