public static enum TLspOnPathLabelingAlgorithm.Alignment extends Enum<TLspOnPathLabelingAlgorithm.Alignment>
Enum Constant and Description |
---|
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.
|
CENTER
Alignment mode, indicating that the label is placed on the path.
|
INSIDE
Alignment mode, indicating that the label is shifted to a location inside the
path.
|
LEFT
Alignment mode, indicating that the label is shifted to the left, when the
path is followed from start to end.
|
OUTSIDE
Alignment mode, indicating that the label is placed outside the path.
|
RIGHT
Alignment mode, indicating that the label is shifted to the right, when the
path is followed from start to end.
|
Modifier and Type | Method and Description |
---|---|
static TLspOnPathLabelingAlgorithm.Alignment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TLspOnPathLabelingAlgorithm.Alignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TLspOnPathLabelingAlgorithm.Alignment CENTER
public static final TLspOnPathLabelingAlgorithm.Alignment OUTSIDE
public static final TLspOnPathLabelingAlgorithm.Alignment INSIDE
public static final TLspOnPathLabelingAlgorithm.Alignment LEFT
public static final TLspOnPathLabelingAlgorithm.Alignment RIGHT
public static final TLspOnPathLabelingAlgorithm.Alignment ABOVE
public static final TLspOnPathLabelingAlgorithm.Alignment BELOW
public static TLspOnPathLabelingAlgorithm.Alignment[] values()
for (TLspOnPathLabelingAlgorithm.Alignment c : TLspOnPathLabelingAlgorithm.Alignment.values()) System.out.println(c);
public static TLspOnPathLabelingAlgorithm.Alignment 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