public static enum Canvas.VertexMode extends Enum<Canvas.VertexMode>
Enum Constant and Description |
---|
TRIANGLE_FAN |
TRIANGLE_STRIP |
TRIANGLES |
Modifier and Type | Field and Description |
---|---|
int |
nativeInt |
Modifier and Type | Method and Description |
---|---|
static Canvas.VertexMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Canvas.VertexMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Canvas.VertexMode TRIANGLES
public static final Canvas.VertexMode TRIANGLE_STRIP
public static final Canvas.VertexMode TRIANGLE_FAN
public static Canvas.VertexMode[] values()
for (Canvas.VertexMode c : Canvas.VertexMode.values()) System.out.println(c);
public static Canvas.VertexMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is null