public static enum TLspPinLineStyle.PinEndPosition extends Enum<TLspPinLineStyle.PinEndPosition>
Enum Constant and Description |
---|
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.
|
MIDDLE_OF_BOUNDS
The pin connects to the label at the middle of the label bounds.
|
MIDDLE_OF_BOUNDS_ON_EDGE
The pin connects to the label at the middle of the label bounds.
|
Modifier and Type | Method and Description |
---|---|
static TLspPinLineStyle.PinEndPosition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TLspPinLineStyle.PinEndPosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TLspPinLineStyle.PinEndPosition MIDDLE_OF_BOUNDS
public static final TLspPinLineStyle.PinEndPosition CLOSEST_EDGE
public static final TLspPinLineStyle.PinEndPosition CLOSEST_POINT_ON_EDGE
public static final TLspPinLineStyle.PinEndPosition MIDDLE_OF_BOUNDS_ON_EDGE
public static TLspPinLineStyle.PinEndPosition[] values()
for (TLspPinLineStyle.PinEndPosition c : TLspPinLineStyle.PinEndPosition.values()) System.out.println(c);
public static TLspPinLineStyle.PinEndPosition valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null