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 SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum 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 SummaryModifier and TypeMethodDescriptionstatic PathLabelPositionReturns 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- 
AboveVertically align the position of the label such that it is always positioned above the path.
- 
PortAlign 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.
- 
BelowVertically align the position of the label such that it is always positioned below the path.
- 
StarboardAlign 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.
- 
CenterVertically align the position of the label such that it is positioned on the path.
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
 
-