Package com.luciad.layers.styles
Enum Class PathLabelPosition
- All Implemented Interfaces:
Serializable
,Comparable<PathLabelPosition>
,Constable
An enumeration describing the position of a label wrt a path.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionVertically align the position of the label such that it is always positioned above the path.Vertically align the position of the label such that it is always positioned below the path.Vertically align the position of the label such that it is positioned on the path.Align the position of the label such that it is always at the left side of the path when the path is followed from start to end.Align the position of the label such that it is always at the right side of the path when the path is followed from start to end. -
Method Summary
Modifier and TypeMethodDescriptionstatic PathLabelPosition
Returns the enum constant of this class with the specified name.static PathLabelPosition[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Above
Vertically align the position of the label such that it is always positioned above the path. -
Port
Align the position of the label such that it is always at the left side of the path when the path is followed from start to end. -
Below
Vertically align the position of the label such that it is always positioned below the path. -
Starboard
Align the position of the label such that it is always at the right side of the path when the path is followed from start to end. -
Center
Vertically align the position of the label such that it is positioned on the path.
-
-
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
-