Package com.datalogics.PDFL
Enum Class BlendMode
- All Implemented Interfaces:
Serializable,Comparable<BlendMode>,Constable
The blend mode used for painting objects.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCreates a color with the hue and saturation of the source color and the luminosity of the backdrop color.Darken the backdrop color to reflect the source color.Brighten the backdrop color to reflect the source color.No longer needed but still recognized; equivalent to the Normal blend mode.Selects the darker of the backdrop or source colors.Subtracts the darker of the two constituent colors from the lighter color.Similar to the Difference mode, but lower in contrast.Multiplies or screens the colors, depending on the source color value.Creates a color with the hue of the source color and the saturation and luminosity of the background color.Selects the lighter of the backdrop or source colors.Creates a color with the luminosity of the source color and the hue and saturation of the backdrop color.Multiplies the source color and the backdrop color.Selects the source color, or the color in the graphics object, and ignores the backdrop.Multiplies or screens the colors, depending on the backdrop color value.Creates a color with the saturation of the source color and the hue and luminosity of the backdrop color.Multiplies the complements of the source color and the backdrop, and then complements the result.Darkens or lightens the colors, depending on the source color value. -
Method Summary
Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
COMPATIBLE
No longer needed but still recognized; equivalent to the Normal blend mode. -
NORMAL
Selects the source color, or the color in the graphics object, and ignores the backdrop. -
MULTIPLY
Multiplies the source color and the backdrop color. This means that the color will always be at least as dark as the constituent colors. If either the source object or the backdrop is black, the color will be black. -
SCREEN
Multiplies the complements of the source color and the backdrop, and then complements the result. The result is always as light as either of the constituent colors. -
DIFFERENCE
Subtracts the darker of the two constituent colors from the lighter color. -
DARKEN
Selects the darker of the backdrop or source colors. -
LIGHTEN
Selects the lighter of the backdrop or source colors. -
COLOR_DODGE
Brighten the backdrop color to reflect the source color. -
COLOR_BURN
Darken the backdrop color to reflect the source color. -
EXCLUSION
Similar to the Difference mode, but lower in contrast. -
HARD_LIGHT
Multiplies or screens the colors, depending on the source color value. -
OVERLAY
Multiplies or screens the colors, depending on the backdrop color value. Source colors overlay the backdrop while preserving highlights and shadows. The backdrop color is mixed with the source color to reflect the lightness or darkness of the backdrop. -
SOFT_LIGHT
Darkens or lightens the colors, depending on the source color value. -
LUMINOSITY
Creates a color with the luminosity of the source color and the hue and saturation of the backdrop color. -
HUE
Creates a color with the hue of the source color and the saturation and luminosity of the background color. -
SATURATION
Creates a color with the saturation of the source color and the hue and luminosity of the backdrop color. -
COLOR
Creates a color with the hue and saturation of the source color and the luminosity of the backdrop color. -
UNKNOWN
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-