Package org.jzy3d.painters
Enum StencilOp
- java.lang.Object
-
- java.lang.Enum<StencilOp>
-
- org.jzy3d.painters.StencilOp
-
- All Implemented Interfaces:
Serializable
,Comparable<StencilOp>
public enum StencilOp extends Enum<StencilOp>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StencilOp
valueOf(String name)
Returns the enum constant of this type with the specified name.static StencilOp[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GL_KEEP
public static final StencilOp GL_KEEP
-
GL_ZERO
public static final StencilOp GL_ZERO
-
GL_REPLACE
public static final StencilOp GL_REPLACE
-
GL_INCR
public static final StencilOp GL_INCR
-
GL_DECR
public static final StencilOp GL_DECR
-
GL_INVERT
public static final StencilOp GL_INVERT
-
-
Method Detail
-
values
public static StencilOp[] 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 (StencilOp c : StencilOp.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StencilOp valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-