Package com.winnovative_software
Enum LineCapStyle
- All Implemented Interfaces:
Serializable
,Comparable<LineCapStyle>
,java.lang.constant.Constable
The line cap style
-
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.Default line cap style.The stroke continues beyond the endpoint of the path for a distance equal to half the line width and is then squared off.A semicircular arc with a diameter equal to the line width is drawn around the endpoint and filled in. -
Method Summary
Modifier and TypeMethodDescriptionint
value()
static LineCapStyle
Returns the enum constant of this type with the specified name.static LineCapStyle[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
Default
Default line cap style. -
ButtCap
The stroke is squared off at the endpoint of the path. There is no projection beyond the end of the path. -
RoundCap
A semicircular arc with a diameter equal to the line width is drawn around the endpoint and filled in. -
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
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
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 nameNullPointerException
- if the argument is null
-
value
public int value()
-