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