public static enum BitmapFont.VAlign extends java.lang.Enum<BitmapFont.VAlign>
| Enum Constant and Description |
|---|
Bottom
Align text at the bottom of the text block
|
Center
Align text in the center of the text block
|
Top
Align text on the top of the text block
|
| Modifier and Type | Method and Description |
|---|---|
static BitmapFont.VAlign |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BitmapFont.VAlign[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BitmapFont.VAlign Top
public static final BitmapFont.VAlign Center
public static final BitmapFont.VAlign Bottom
public static BitmapFont.VAlign[] values()
for (BitmapFont.VAlign c : BitmapFont.VAlign.values()) System.out.println(c);
public static BitmapFont.VAlign 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