Enum Constants.BlendMode
- java.lang.Object
-
- java.lang.Enum<Constants.BlendMode>
-
- org.praxislive.video.pgl.code.userapi.Constants.BlendMode
-
- All Implemented Interfaces:
Serializable
,Comparable<Constants.BlendMode>
- Enclosing class:
- Constants
public static enum Constants.BlendMode extends Enum<Constants.BlendMode>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
unwrap()
static Constants.BlendMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static Constants.BlendMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Replace
public static final Constants.BlendMode Replace
-
Blend
public static final Constants.BlendMode Blend
-
Add
public static final Constants.BlendMode Add
-
Subtract
public static final Constants.BlendMode Subtract
-
Multiply
public static final Constants.BlendMode Multiply
-
-
Method Detail
-
values
public static Constants.BlendMode[] 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 (Constants.BlendMode c : Constants.BlendMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Constants.BlendMode 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
-
unwrap
public int unwrap()
-
-