public static enum TLspFixedOnPathLabelLocationProvider.HorizontalAlignment extends Enum<TLspFixedOnPathLabelLocationProvider.HorizontalAlignment>
Represents the horizontal alignment, i.e. the offset of the label parallel to the path, relative to the chosen point on the path. For example:
RIGHT --------*-------- CENTER --------*-------- LEFT --------*--------
Enum Constant and Description |
---|
CENTER
Center alignment.
|
LEFT
Left alignment.
|
RIGHT
Right alignment.
|
Modifier and Type | Method and Description |
---|---|
static TLspFixedOnPathLabelLocationProvider.HorizontalAlignment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TLspFixedOnPathLabelLocationProvider.HorizontalAlignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TLspFixedOnPathLabelLocationProvider.HorizontalAlignment RIGHT
public static final TLspFixedOnPathLabelLocationProvider.HorizontalAlignment CENTER
public static final TLspFixedOnPathLabelLocationProvider.HorizontalAlignment LEFT
public static TLspFixedOnPathLabelLocationProvider.HorizontalAlignment[] values()
for (TLspFixedOnPathLabelLocationProvider.HorizontalAlignment c : TLspFixedOnPathLabelLocationProvider.HorizontalAlignment.values()) System.out.println(c);
public static TLspFixedOnPathLabelLocationProvider.HorizontalAlignment 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