public static enum TextSprite.TextBaseline extends Enum<TextSprite.TextBaseline>
TextSprite
baseline.Enum Constant and Description |
---|
BOTTOM
Sprite places the text on top of the given coordinates.
|
MIDDLE
Sprite places the text centered at the given coordinates.
|
TOP
Sprite places the text below the given coordinates.
|
Modifier and Type | Method and Description |
---|---|
static TextSprite.TextBaseline |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextSprite.TextBaseline[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextSprite.TextBaseline TOP
public static final TextSprite.TextBaseline MIDDLE
public static final TextSprite.TextBaseline BOTTOM
public static TextSprite.TextBaseline[] values()
for (TextSprite.TextBaseline c : TextSprite.TextBaseline.values()) System.out.println(c);
public static TextSprite.TextBaseline 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 nullCopyright © 2018. All rights reserved.