public enum TextureAlignment extends java.lang.Enum<TextureAlignment>
| Enum Constant and Description |
|---|
Bottom
Specifies the bottom alignment.
|
BottomLeft
Specifies the bottom-left alignment.
|
BottomRight
Specifies the bottom-right alignment.
|
Center
Specifies the center alignment.
|
Left
Specifies the left alignment.
|
Right
Specifies the right alignment.
|
Top
Specifies the top alignment.
|
TopLeft
Specifies the top-left alignment.
|
TopRight
Specifies the top-right alignment.
|
| Modifier and Type | Method and Description |
|---|---|
static TextureAlignment |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TextureAlignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextureAlignment TopLeft
public static final TextureAlignment Top
public static final TextureAlignment TopRight
public static final TextureAlignment Left
public static final TextureAlignment Center
public static final TextureAlignment Right
public static final TextureAlignment BottomLeft
public static final TextureAlignment Bottom
public static final TextureAlignment BottomRight
public static TextureAlignment[] values()
for (TextureAlignment c : TextureAlignment.values()) System.out.println(c);
public static TextureAlignment 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