public enum TextureRotation extends java.lang.Enum<TextureRotation>
| Modifier and Type | Method and Description |
|---|---|
ConnectionDirection |
rotate(ConnectionDirection direction) |
static TextureRotation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TextureRotation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextureRotation _0
public static final TextureRotation _90
public static final TextureRotation _180
public static final TextureRotation _270
public static TextureRotation[] values()
for (TextureRotation c : TextureRotation.values()) System.out.println(c);
public static TextureRotation 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 nullpublic ConnectionDirection rotate(ConnectionDirection direction)