java.lang.Object
java.lang.Enum<LineCap>
com.github.weisj.jsvg.attributes.stroke.LineCap
All Implemented Interfaces:
Serializable, Comparable<LineCap>, java.lang.constant.Constable

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

    • Butt

      public static final LineCap Butt
    • Square

      public static final LineCap Square
    • Round

      public static final LineCap Round
  • Field Details

    • awtCode

      private final int awtCode
  • Constructor Details

    • LineCap

      private LineCap(int awtCode)
  • Method Details

    • values

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

      public static LineCap valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • awtCode

      public int awtCode()