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