public static enum TiledText.VAlign extends Enum<TiledText.VAlign>
Represents a vertical alignment that text can have within a text object.
Modifier and Type | Method and Description |
---|---|
static TiledText.VAlign |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TiledText.VAlign[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TiledText.VAlign TOP
public static final TiledText.VAlign CENTER
public static final TiledText.VAlign BOTTOM
public static TiledText.VAlign[] values()
for (TiledText.VAlign c : TiledText.VAlign.values()) System.out.println(c);
public static TiledText.VAlign 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 © 2020. All rights reserved.