Enum Class StiPenStyle

java.lang.Object
java.lang.Enum<StiPenStyle>
com.stimulsoft.base.drawing.enums.StiPenStyle
All Implemented Interfaces:
Serializable, Comparable<StiPenStyle>, Constable

public enum StiPenStyle extends Enum<StiPenStyle>
  • Enum Constant Details

    • Solid

      public static final StiPenStyle Solid
      Solid line.
    • Dash

      public static final StiPenStyle Dash
      Dotted line.
    • DashDot

      public static final StiPenStyle DashDot
      Dash-dotted line.
    • DashDotDot

      public static final StiPenStyle DashDotDot
      Dotted-dash-dash line.
    • Dot

      public static final StiPenStyle Dot
      Dotted line.
    • Double

      public static final StiPenStyle Double
      Double line.
    • None

      public static final StiPenStyle None
      No.
  • Method Details

    • values

      public static StiPenStyle[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static StiPenStyle valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public int getValue()
    • forValue

      public static StiPenStyle forValue(int value)
    • getDash

      public float[] getDash(float width)