public static enum Drawable2d.Prefab extends java.lang.Enum<Drawable2d.Prefab>
| Enum Constant and Description |
|---|
FULL_RECTANGLE |
RECTANGLE |
TRIANGLE |
| Modifier and Type | Method and Description |
|---|---|
static Drawable2d.Prefab |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Drawable2d.Prefab[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Drawable2d.Prefab TRIANGLE
public static final Drawable2d.Prefab RECTANGLE
public static final Drawable2d.Prefab FULL_RECTANGLE
public static Drawable2d.Prefab[] values()
for (Drawable2d.Prefab c : Drawable2d.Prefab.values()) System.out.println(c);
public static Drawable2d.Prefab 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