Package ch.bailu.gtk.gsk
Interface BlendMode
public interface BlendMode
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Creates a color with the hue and saturation of the source color and the luminosity of the destination colorstatic final int
Darkens the destination color to reflect the source colorstatic final int
Brightens the destination color to reflect the source colorstatic final int
Selects the darker of the destination and source colorsstatic final int
The default blend mode, which specifies no blendingstatic final int
Subtracts the darker of the two constituent colors from the lighter colorstatic final int
Produces an effect similar to that of the difference mode but lower in contraststatic final int
Multiplies or screens the colors, depending on the source color valuestatic final int
Creates a color with the hue of the source color and the saturation and luminosity of the destination colorstatic final int
Selects the lighter of the destination and source colorsstatic final int
Creates a color with the luminosity of the source color and the hue and saturation of the destination colorstatic final int
The source color is multiplied by the destination
and replaces the destinationstatic final int
Multiplies or screens the colors, depending on the
destination color value.static final int
Creates a color with the saturation of the source color and the hue and luminosity of the destination colorstatic final int
Multiplies the complements of the destination and source
color values, then complements the result.static final int
Darkens or lightens the colors, depending on the source color value
-
Field Details
-
DEFAULT
static final int DEFAULTThe default blend mode, which specifies no blending- See Also:
-
MULTIPLY
static final int MULTIPLYThe source color is multiplied by the destination
and replaces the destination- See Also:
-
SCREEN
static final int SCREENMultiplies the complements of the destination and source
color values, then complements the result.- See Also:
-
OVERLAY
static final int OVERLAYMultiplies or screens the colors, depending on the
destination color value. This is the inverse of hard-list- See Also:
-
DARKEN
static final int DARKENSelects the darker of the destination and source colors- See Also:
-
LIGHTEN
static final int LIGHTENSelects the lighter of the destination and source colors- See Also:
-
COLOR_DODGE
static final int COLOR_DODGEBrightens the destination color to reflect the source color- See Also:
-
COLOR_BURN
static final int COLOR_BURNDarkens the destination color to reflect the source color- See Also:
-
HARD_LIGHT
static final int HARD_LIGHTMultiplies or screens the colors, depending on the source color value- See Also:
-
SOFT_LIGHT
static final int SOFT_LIGHTDarkens or lightens the colors, depending on the source color value- See Also:
-
DIFFERENCE
static final int DIFFERENCESubtracts the darker of the two constituent colors from the lighter color- See Also:
-
EXCLUSION
static final int EXCLUSIONProduces an effect similar to that of the difference mode but lower in contrast- See Also:
-
COLOR
static final int COLORCreates a color with the hue and saturation of the source color and the luminosity of the destination color- See Also:
-
HUE
static final int HUECreates a color with the hue of the source color and the saturation and luminosity of the destination color- See Also:
-
SATURATION
static final int SATURATIONCreates a color with the saturation of the source color and the hue and luminosity of the destination color- See Also:
-
LUMINOSITY
static final int LUMINOSITYCreates a color with the luminosity of the source color and the hue and saturation of the destination color- See Also:
-