Package ch.bailu.gtk.gsk
Interface BlendMode
public interface BlendMode
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCreates a color with the hue and saturation of the source color and the luminosity of the destination colorstatic final intDarkens the destination color to reflect the source colorstatic final intBrightens the destination color to reflect the source colorstatic final intSelects the darker of the destination and source colorsstatic final intThe default blend mode, which specifies no blendingstatic final intSubtracts the darker of the two constituent colors from the lighter colorstatic final intProduces an effect similar to that of the difference mode but lower in contraststatic final intMultiplies or screens the colors, depending on the source color valuestatic final intCreates a color with the hue of the source color and the saturation and luminosity of the destination colorstatic final intSelects the lighter of the destination and source colorsstatic final intCreates a color with the luminosity of the source color and the hue and saturation of the destination colorstatic final intThe source color is multiplied by the destination
and replaces the destinationstatic final intMultiplies or screens the colors, depending on the
destination color value.static final intCreates a color with the saturation of the source color and the hue and luminosity of the destination colorstatic final intMultiplies the complements of the destination and source
color values, then complements the result.static final intDarkens 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:
-