public static enum TextSprite.TextAnchor extends Enum<TextSprite.TextAnchor>
TextSprite
anchor.Enum Constant and Description |
---|
END
Sprite places the text ending at the given coordinates.
|
MIDDLE
Sprite places the text centered at the given coordinates.
|
START
Sprite places the text starting from the given coordinates.
|
Modifier and Type | Method and Description |
---|---|
static TextSprite.TextAnchor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextSprite.TextAnchor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextSprite.TextAnchor START
public static final TextSprite.TextAnchor MIDDLE
public static final TextSprite.TextAnchor END
public static TextSprite.TextAnchor[] values()
for (TextSprite.TextAnchor c : TextSprite.TextAnchor.values()) System.out.println(c);
public static TextSprite.TextAnchor 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.