Package com.luciad.view.lightspeed.style
Enum Class TLspPinLineStyle.PinEndPosition
java.lang.Object
java.lang.Enum<TLspPinLineStyle.PinEndPosition>
com.luciad.view.lightspeed.style.TLspPinLineStyle.PinEndPosition
- All Implemented Interfaces:
Serializable
,Comparable<TLspPinLineStyle.PinEndPosition>
,Constable
- Enclosing class:
TLspPinLineStyle
Possible positions for the end of the pin: the position where the pin connects to the label.
- Since:
- 2012.1
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe pin connects to the label at the middle point of the label's edge that is closest to the label's anchor geometry.The pin connects to the label at the position on any of the label's edges that is closest to the label's anchor geometry.The pin connects to the label at the middle of the label bounds.The pin connects to the label at the middle of the label bounds. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static TLspPinLineStyle.PinEndPosition[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MIDDLE_OF_BOUNDS
The pin connects to the label at the middle of the label bounds. -
CLOSEST_EDGE
The pin connects to the label at the middle point of the label's edge that is closest to the label's anchor geometry. -
CLOSEST_POINT_ON_EDGE
The pin connects to the label at the position on any of the label's edges that is closest to the label's anchor geometry. Note that this can include any of the corners of the label. This end position results in the smallest possible pin lines.- Since:
- 2017.0
-
MIDDLE_OF_BOUNDS_ON_EDGE
The pin connects to the label at the middle of the label bounds. Additionally pin line is cut off where it crosses the edge of the label.
-
-
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
-