public static enum ShapeRenderer.ShapeType extends Enum<ShapeRenderer.ShapeType>
ShapeRenderer.begin(ShapeType)
.Modifier and Type | Method and Description |
---|---|
int |
getGlType() |
static ShapeRenderer.ShapeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShapeRenderer.ShapeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShapeRenderer.ShapeType Point
public static final ShapeRenderer.ShapeType Line
public static final ShapeRenderer.ShapeType Filled
public static ShapeRenderer.ShapeType[] values()
for (ShapeRenderer.ShapeType c : ShapeRenderer.ShapeType.values()) System.out.println(c);
public static ShapeRenderer.ShapeType 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 nullpublic int getGlType()
Copyright © 2015. All rights reserved.