Enum Class LineCap

java.lang.Object
java.lang.Enum<LineCap>
com.datalogics.PDFL.LineCap
All Implemented Interfaces:
Serializable, Comparable<LineCap>, Constable

public enum LineCap extends Enum<LineCap>
The line cap style specifies the shape to be used at the ends of open subpaths (and dashes, if any) when they are stroked.
  • Enum Constant Details

    • BUTT_CAP

      public static final LineCap BUTT_CAP
      The stroke is squared off at the endpoint of the path. There is no projection beyond the end of the path.
    • ROUND_CAP

      public static final LineCap ROUND_CAP
      A semicircular arc with a diameter equal to the line width is drawn around the endpoint and filled in.
    • SQUARE_CAP

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

    • values

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