Enum Class PenStyle

java.lang.Object
java.lang.Enum<PenStyle>
eu.webtoolkit.jwt.PenStyle
All Implemented Interfaces:
Serializable, Comparable<PenStyle>, Constable

public enum PenStyle extends Enum<PenStyle>
Enumeration that indicates a pen style.
  • Enum Constant Details

    • None

      public static final PenStyle None
      Do not stroke.
    • SolidLine

      public static final PenStyle SolidLine
      Stroke with a solid line.
    • DashLine

      public static final PenStyle DashLine
      Stroked with a dashed line.
    • DotLine

      public static final PenStyle DotLine
      Stroke with a dotted line.
    • DashDotLine

      public static final PenStyle DashDotLine
      Stroke with a dash dot line.
    • DashDotDotLine

      public static final PenStyle DashDotDotLine
      Stroke with a dash dot dot line.
  • Method Details

    • values

      public static PenStyle[] 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 PenStyle 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()
      Returns the numerical representation of this enum.