Package org.jpedal.constants
Enum Class LineEndingStyle
- All Implemented Interfaces:
Serializable
,Comparable<LineEndingStyle>
,Constable
The style of a line ending.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA flat cap at the end of the line (also known as "butt cap").A circular line ending.A closed (filled) arrowhead line ending.A diamond-shaped line ending.No line ending.An open arrowhead line ending.A reversed closed (filled) arrowhead line ending.A reversed open arrowhead line ending (arrow points toward the line start).A short diagonal line resembling a slash at the end of the line.A square line ending. -
Method Summary
Modifier and TypeMethodDescriptiongetValue()
Returns the String value associated with this enum instance..static LineEndingStyle
Returns the enum constant of this class with the specified name.static LineEndingStyle[]
values()
Returns an array containing the constants of this enum class, 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
-
SQUARE
A square line ending. -
CIRCLE
A circular line ending. -
DIAMOND
A diamond-shaped line ending. -
OPEN_ARROW
An open arrowhead line ending. -
CLOSED_ARROW
A closed (filled) arrowhead line ending. -
NONE
No line ending. -
BUTT
A flat cap at the end of the line (also known as "butt cap"). -
REVERSE_OPEN_ARROW
A reversed open arrowhead line ending (arrow points toward the line start). -
REVERSE_CLOSED_ARROW
A reversed closed (filled) arrowhead line ending. -
SLASH
A short diagonal line resembling a slash at the end of the line.
-
-
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
-
getValue
Returns the String value associated with this enum instance..- Returns:
- the String value associated with this enum instance.
-