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