public static enum Blend.Algorithm extends java.lang.Enum<Blend.Algorithm>
| Enum Constant and Description |
|---|
Add
This blend mode simply adds pixel values of one layer with the other.
|
Average
Simply average each component in the two layers.
|
ColorBurn
Color Burn mode divides the inverted bottom layer by the top layer, and then inverts the result.
|
ColorDodge
Color Dodge blend mode divides the bottom layer by the inverted top layer.
|
Darken
Creates a pixel that retains the smallest components of the foreground and background pixels.
|
Difference
Difference subtracts the top layer from the bottom layer or the other way round, to always get a positive value.
|
Exclusion
Exclusion blending mode inverts lower layers according to the brightness values in the active layer.
|
HardLight
Hard Light combines Multiply and Screen blend modes.
|
Lighten
It selects the maximum of each component from the foreground and background pixels.
|
LinearLight
Linear Light combines Linear Dodge and Linear Burn (rescaled so that neutral colors become middle gray).
|
Multiply
Simply multiplies each component in the two layers.
|
Negation
Produces the opposite effect to Difference.
|
Overlay
Overlay combines Multiply and Screen blend modes.
|
Phoenix
Phoenix mode.
|
PinLight
Pin Light combines lighten and darken modes.
|
Reflect
Reflect can be used for adding shiny objects or areas of light.
|
Screen
The Screen blend mode inverts both layers, multiplies them, and then inverts that result.
|
SoftLight
This is a softer version of Hard Light.
|
Subtract
This blend mode simply subtracts pixel values of one layer with the other.
|
VividLight
Vivid Light combines Color Dodge and Color Burn (rescaled so that neutral colors become middle gray).
|
| Modifier and Type | Method and Description |
|---|---|
static Blend.Algorithm |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Blend.Algorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Blend.Algorithm Lighten
public static final Blend.Algorithm Darken
public static final Blend.Algorithm Multiply
public static final Blend.Algorithm Average
public static final Blend.Algorithm Add
public static final Blend.Algorithm Subtract
public static final Blend.Algorithm Difference
public static final Blend.Algorithm Negation
public static final Blend.Algorithm Screen
public static final Blend.Algorithm Exclusion
public static final Blend.Algorithm Overlay
public static final Blend.Algorithm SoftLight
public static final Blend.Algorithm HardLight
public static final Blend.Algorithm ColorDodge
public static final Blend.Algorithm ColorBurn
public static final Blend.Algorithm LinearLight
public static final Blend.Algorithm VividLight
public static final Blend.Algorithm PinLight
public static final Blend.Algorithm Reflect
public static final Blend.Algorithm Phoenix
public static Blend.Algorithm[] values()
for (Blend.Algorithm c : Blend.Algorithm.values()) System.out.println(c);
public static Blend.Algorithm valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null