Enum Class TLspFixedOnPathLabelLocationProvider.VerticalAlignment
java.lang.Object
java.lang.Enum<TLspFixedOnPathLabelLocationProvider.VerticalAlignment>
com.luciad.view.lightspeed.label.algorithm.TLspFixedOnPathLabelLocationProvider.VerticalAlignment
- All Implemented Interfaces:
Serializable
,Comparable<TLspFixedOnPathLabelLocationProvider.VerticalAlignment>
,Constable
- Enclosing class:
TLspFixedOnPathLabelLocationProvider
public static enum TLspFixedOnPathLabelLocationProvider.VerticalAlignment
extends Enum<TLspFixedOnPathLabelLocationProvider.VerticalAlignment>
Represents the vertical alignment, i.e. the offset of the label perpendicular to the line.
- Since:
- 2016.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAlignment mode, indicating that the label is shifted to a direction so that is positioned above the path.Alignment mode, indicating that the label is shifted to a direction so that is positioned below the path.Alignment mode, indicating that the label is placed on the path.Alignment mode, indicating that the label is shifted to the left, when the path is followed from start to end.Alignment mode, indicating that the label is shifted to the right, when the path is followed from start to end. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CENTER
Alignment mode, indicating that the label is placed on the path. -
LEFT
Alignment mode, indicating that the label is shifted to the left, when the path is followed from start to end. Say for example that we have a square-like polygon whose points are defined in a clockwise direction. In that case we can always position the label outside the path by using the LEFT vertical alignment. -
RIGHT
Alignment mode, indicating that the label is shifted to the right, when the path is followed from start to end. Say for example that we have a square-like polygon whose points are defined in a clockwise direction. In that case we can always position the label inside the path by using the RIGHT vertical alignment. -
ABOVE
Alignment mode, indicating that the label is shifted to a direction so that is positioned above the path. -
BELOW
Alignment mode, indicating that the label is shifted to a direction so that is positioned below 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
-