Package com.datalogics.PDFL
Enum Class LineCap
- All Implemented Interfaces:
Serializable,Comparable<LineCap>,Constable
The line cap style specifies the shape to be used at the ends of open subpaths (and dashes, if any) when they are stroked.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe stroke is squared off at the endpoint of the path.A semicircular arc with a diameter equal to the line width is drawn around the endpoint and filled in.The stroke continues beyond the endpoint of the path for a distance equal to half the line width and is squared off. -
Method Summary
Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
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
A semicircular arc with a diameter equal to the line width is drawn around the endpoint and filled in. -
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
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
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 nameNullPointerException- if the argument is null
-