Package com.pdfjet

Enum Class CapStyle

All Implemented Interfaces:
Serializable, Comparable<CapStyle>, Constable

public enum CapStyle extends Enum<CapStyle>
Used to specify the cap style of a line. See the Line class for more information.
  • Enum Constant Details

    • BUTT

      public static final CapStyle BUTT
      BUTT cap style.
    • ROUND

      public static final CapStyle ROUND
      ROUND cap style.
    • PROJECTING_SQUARE

      public static final CapStyle PROJECTING_SQUARE
      PROJECTING_SQUARE cap style.
  • Method Details

    • values

      public static CapStyle[] 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 CapStyle 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