public enum PathLabelPosition extends Enum<PathLabelPosition>
Enum Constant and Description |
---|
Above
Vertically align the position of the label such that it is always positioned above the path.
|
Below
Vertically align the position of the label such that it is always positioned below the path.
|
Center
Vertically align the position of the label such that it is positioned on the path.
|
Port
Align the position of the label such that it is always at the left side of the path when the path is followed from start to end.
|
Starboard
Align the position of the label such that it is always at the right side of the path when the path is followed from start to end.
|
Modifier and Type | Method and Description |
---|---|
static PathLabelPosition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PathLabelPosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PathLabelPosition Above
public static final PathLabelPosition Port
public static final PathLabelPosition Below
public static final PathLabelPosition Starboard
public static final PathLabelPosition Center
public static PathLabelPosition[] values()
for (PathLabelPosition c : PathLabelPosition.values()) System.out.println(c);
public static PathLabelPosition 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