flash.display
Enum BlendMode
java.lang.Object
java.lang.Enum<BlendMode>
flash.display.BlendMode
- All Implemented Interfaces:
- Serializable, Comparable<BlendMode>
public enum BlendMode
- extends Enum<BlendMode>
ADD
public static final BlendMode ADD
ALPHA
public static final BlendMode ALPHA
DARKEN
public static final BlendMode DARKEN
DIFFERENCE
public static final BlendMode DIFFERENCE
ERASE
public static final BlendMode ERASE
HARDLIGHT
public static final BlendMode HARDLIGHT
INVERT
public static final BlendMode INVERT
LAYER
public static final BlendMode LAYER
LIGHTEN
public static final BlendMode LIGHTEN
MULTIPLY
public static final BlendMode MULTIPLY
NORMAL
public static final BlendMode NORMAL
OVERLAY
public static final BlendMode OVERLAY
SCREEN
public static final BlendMode SCREEN
SUBTRACT
public static final BlendMode SUBTRACT
values
public static 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 (BlendMode c : 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 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 name
NullPointerException - if the argument is null
nativeEnum
public String nativeEnum()
valueOfNative
public static BlendMode valueOfNative(String nativeEnum)
Copyright © 2011. All Rights Reserved.