Package micycle.pgs
Enum Class PGS_Morphology.CapStyle
- All Implemented Interfaces:
Serializable
,Comparable<PGS_Morphology.CapStyle>
,Constable
- Enclosing class:
- PGS_Morphology
The end cap style to use. Cap style specifies the shape of the ends of
buffered unclosed lines; it has no effect in polygons.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic PGS_Morphology.CapStyle
Returns the enum constant of this class with the specified name.static PGS_Morphology.CapStyle[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ROUND
The usual round end caps. -
FLAT
End caps are truncated flat at the line ends. -
SQUARE
End caps are squared off at the buffer distance beyond the line ends.
-
-
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
-