| Enum Constant and Description |
|---|
COLOR
Creates a color with the hue and saturation of the source color and the luminosity of the backdrop color.
|
COLOR_BURN
Darken the backdrop color to reflect the source color.
|
COLOR_DODGE
Brighten the backdrop color to reflect the source color.
|
COMPATIBLE
No longer needed but still recognized; equivalent to the Normal blend mode.
|
DARKEN
Selects the darker of the backdrop or source colors.
|
DIFFERENCE
Subtracts the darker of the two constituent colors from the lighter color.
|
EXCLUSION
Similar to the Difference mode, but lower in contrast.
|
HARD_LIGHT
Multiplies or screens the colors, depending on the source color value.
|
HUE
Creates a color with the hue of the source color and the saturation and luminosity of the background color.
|
LIGHTEN
Selects the lighter of the backdrop or source colors.
|
LUMINOSITY
Creates a color with the luminosity of the source color and the hue and saturation of the backdrop color.
|
MULTIPLY
Multiplies the source color and the backdrop color.
|
NORMAL
Selects the source color, or the color in the graphics object, and ignores the backdrop.
|
OVERLAY
Multiplies or screens the colors, depending on the backdrop color value.
|
SATURATION
Creates a color with the saturation of the source color and the hue and luminosity of the backdrop color.
|
SCREEN
Multiplies the complements of the source color and the backdrop, and then complements the result.
|
SOFT_LIGHT
Darkens or lightens the colors, depending on the source color value.
|
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static BlendMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BlendMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlendMode COMPATIBLE
public static final BlendMode NORMAL
public static final BlendMode MULTIPLY
public static final BlendMode SCREEN
public static final BlendMode DIFFERENCE
public static final BlendMode DARKEN
public static final BlendMode LIGHTEN
public static final BlendMode COLOR_DODGE
public static final BlendMode COLOR_BURN
public static final BlendMode EXCLUSION
public static final BlendMode HARD_LIGHT
public static final BlendMode OVERLAY
public static final BlendMode SOFT_LIGHT
public static final BlendMode LUMINOSITY
public static final BlendMode HUE
public static final BlendMode SATURATION
public static final BlendMode COLOR
public static final BlendMode UNKNOWN
public static BlendMode[] values()
for (BlendMode c : BlendMode.values()) System.out.println(c);
public static BlendMode 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