Class LineStyle

java.lang.Object
com.dynamicpdf.api.LineStyle

public class LineStyle extends Object
Represents a style of line.
  • Constructor Details

    • LineStyle

      public LineStyle(float[] dashArray, float dashPhase)
      Initializes a new instance of the LineStyle class.
      Parameters:
      dashArray - The array specifying the line style.
      dashPhase - The phase of the line style.
    • LineStyle

      public LineStyle(float[] dashArray)
      Parameters:
      dashArray - The array specifying the line style.
  • Method Details

    • getLineStyleString

      public String getLineStyleString()
      Returns:
      The array specifying the line style.
    • getSolid

      public static LineStyle getSolid()
      Gets a solid line.
      Returns:
      A solid line.
    • getDots

      public static LineStyle getDots()
      Gets a dotted line.
      Returns:
      A dotted line.
    • getDashSmall

      public static LineStyle getDashSmall()
      Gets a line with small dashes.
      Returns:
      A line with small dashes.
    • getDash

      public static LineStyle getDash()
      Gets a dashed line.
      Returns:
      A dashed line.
    • getDashLarge

      public static LineStyle getDashLarge()
      Gets a line with large dashes.
      Returns:
      A line with large dashes.
    • getNone

      public static LineStyle getNone()
      Gets a invisible line.
      Returns:
      A invisible line.