flash.display
Enum BlendMode

java.lang.Object
  extended by java.lang.Enum<BlendMode>
      extended by flash.display.BlendMode
All Implemented Interfaces:
Serializable, Comparable<BlendMode>

public enum BlendMode
extends Enum<BlendMode>


Enum Constant Summary
ADD
           
ALPHA
           
DARKEN
           
DIFFERENCE
           
ERASE
           
HARDLIGHT
           
INVERT
           
LAYER
           
LIGHTEN
           
MULTIPLY
           
NORMAL
           
OVERLAY
           
SCREEN
           
SUBTRACT
           
 
Method Summary
 String nativeEnum()
           
static BlendMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static BlendMode valueOfNative(String nativeEnum)
           
static BlendMode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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 © 2012. All Rights Reserved.