public enum SpriteEffects extends java.lang.Enum<SpriteEffects>
Enum Constant and Description |
---|
FlipHorizontally
Rotate 180 degrees about the Y axis before rendering.
|
FlipVertically
Rotate 180 degrees about the X axis before rendering.
|
None
No rotations specified.
|
Modifier and Type | Method and Description |
---|---|
static SpriteEffects |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SpriteEffects[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpriteEffects None
public static final SpriteEffects FlipHorizontally
public static final SpriteEffects FlipVertically
public static SpriteEffects[] values()
for (SpriteEffects c : SpriteEffects.values()) System.out.println(c);
public static SpriteEffects 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