public enum ELcdNVGVerticalAlignment extends Enum<ELcdNVGVerticalAlignment>
horizontal
alignments
are used to determine the geo-referenced anchor point (x, y) with respect to a bounding box containing all text.Enum Constant and Description |
---|
BOTTOM
Bottom text alignment element.
|
MIDDLE
Middle text alignment element.
|
TOP
Top text alignment element.
|
Modifier and Type | Method and Description |
---|---|
static ELcdNVGVerticalAlignment |
fromValue(String aValue)
Convert the given string to his corresponding
ELcdNVGVerticalAlignment . |
String |
toString() |
static String |
toValue(ELcdNVGVerticalAlignment aValue)
Convert the given vertical alignment to his string representation.
|
String |
value()
Get the textual value of this vertical alignment.
|
static ELcdNVGVerticalAlignment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ELcdNVGVerticalAlignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ELcdNVGVerticalAlignment MIDDLE
public static final ELcdNVGVerticalAlignment TOP
public static final ELcdNVGVerticalAlignment BOTTOM
public static ELcdNVGVerticalAlignment[] values()
for (ELcdNVGVerticalAlignment c : ELcdNVGVerticalAlignment.values()) System.out.println(c);
public static ELcdNVGVerticalAlignment 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 nullpublic String value()
public String toString()
toString
in class Enum<ELcdNVGVerticalAlignment>
public static ELcdNVGVerticalAlignment fromValue(String aValue)
ELcdNVGVerticalAlignment
.aValue
- The string representing a vertical alignment.ELcdNVGVerticalAlignment
.public static String toValue(ELcdNVGVerticalAlignment aValue)
aValue
- The vertical alignment to convert.