Package com.evopdf

Enum LineCapStyle

java.lang.Object
java.lang.Enum<LineCapStyle>
com.evopdf.LineCapStyle
All Implemented Interfaces:
Serializable, Comparable<LineCapStyle>, java.lang.constant.Constable

public enum LineCapStyle extends Enum<LineCapStyle>
The line cap style
  • Enum Constant Details

    • Default

      public static final LineCapStyle Default
      Default line cap style.
    • ButtCap

      public static final LineCapStyle ButtCap
      The stroke is squared off at the endpoint of the path. There is no projection beyond the end of the path.
    • RoundCap

      public static final LineCapStyle RoundCap
      A semicircular arc with a diameter equal to the line width is drawn around the endpoint and filled in.
    • ProjectingSquareCap

      public static final LineCapStyle ProjectingSquareCap
      The stroke continues beyond the endpoint of the path for a distance equal to half the line width and is then squared off.
  • Method Details

    • values

      public static LineCapStyle[] 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 LineCapStyle 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
    • value

      public int value()