Package com.aspose.threed
Enum DrawOperation
- java.lang.Object
-
- java.lang.Enum<DrawOperation>
-
- com.aspose.threed.DrawOperation
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DrawOperation>
public enum DrawOperation extends java.lang.Enum<DrawOperation>
The primitive types to render
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LINE_STRIP
Line stripsLINES
LinesPOINTS
PointsTRIANGLE_FAN
Triangle fanTRIANGLE_STRIP
Triangle stripsTRIANGLES
Triangles
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DrawOperation
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DrawOperation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
POINTS
public static final DrawOperation POINTS
Points
-
LINES
public static final DrawOperation LINES
Lines
-
LINE_STRIP
public static final DrawOperation LINE_STRIP
Line strips
-
TRIANGLES
public static final DrawOperation TRIANGLES
Triangles
-
TRIANGLE_STRIP
public static final DrawOperation TRIANGLE_STRIP
Triangle strips
-
TRIANGLE_FAN
public static final DrawOperation TRIANGLE_FAN
Triangle fan
-
-
Method Detail
-
values
public static DrawOperation[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DrawOperation c : DrawOperation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DrawOperation valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-