public static enum TLspPinLineStyle.PinEndPosition extends java.lang.Enum<TLspPinLineStyle.PinEndPosition>
Enum Constant and Description |
---|
CLOSEST_EDGE
The end position of the pin is calculated by choosing the middle point of the edge
closest to the begin point of the pin.
|
CLOSEST_POINT_ON_EDGE
The end position of the pin is calculated by choosing a point on any of the edges that
is closest to the begin point of the label.
|
MIDDLE_OF_BOUNDS
The end position of the pin is calculated by choosing the middle of the label bounds.
|
MIDDLE_OF_BOUNDS_ON_EDGE
The end position of the pin is calculated by calculating the middle of the label bounds
and cutting of the pin line at the edge of the label.
|
Modifier and Type | Method and Description |
---|---|
static TLspPinLineStyle.PinEndPosition |
valueOf(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null