|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Blend>
com.flagstone.transform.datatype.Blend
public enum Blend
Blend modes let you control how the colours and transparency of successive layers are composited together when the Flash Player displays the objects on the screen. The effect is to create highlights, shadows or to control how an underlying object appears.
Enum Constant Summary | |
---|---|
ADD
Add the colours of the layers together. |
|
ALPHA
Applies the transparency of the current layer to the underlying layer. |
|
DARKEN
Displays colours from the underlying layer that are darker than the current layer. |
|
DIFFERENCE
Subtracts the largest colour value from the smallest, creating a colour negative effect. |
|
ERASE
Delete the colours from the underlying layer that match the colour on the current layer. |
|
HARDLIGHT
Select colours from the underlying layer using the values on the current layer. |
|
INVERT
Inverts the colours of the current layer. |
|
LAYER
Sets the opacity of the current layer at 100% before blending. |
|
LIGHTEN
Displays colours from the underlying layer that are lighter than the current layer. |
|
MULTIPLY
Multiplies layers together. |
|
NORMAL
Applies colour form the current layer normally with no blending with the underlying layers. |
|
NULL
No Blend. |
|
OVERLAY
Use the colour from the current layer to select colours from the underlying layer. |
|
SCREEN
Multiplies this inverse of the layer with the underlying layer, creating a bleaching effect. |
|
SUBTRACT
Subtract the current layer colour from the underlying layer. |
Method Summary | |
---|---|
static Blend |
fromInt(int type)
Get the Blend that is identified by an integer value. |
int |
getValue()
Get the integer value that is used to identify this Blend. |
static Blend |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Blend[] |
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 |
---|
public static final Blend NULL
public static final Blend NORMAL
public static final Blend LAYER
public static final Blend MULTIPLY
public static final Blend SCREEN
public static final Blend LIGHTEN
public static final Blend DARKEN
public static final Blend ADD
public static final Blend SUBTRACT
public static final Blend DIFFERENCE
public static final Blend INVERT
public static final Blend ALPHA
public static final Blend ERASE
public static final Blend OVERLAY
public static final Blend HARDLIGHT
Method Detail |
---|
public static Blend[] values()
for (Blend c : Blend.values()) System.out.println(c);
public static Blend valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static Blend fromInt(int type)
type
- the integer value read from a Flash file.
public int getValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |