Module: Gsk::BlendMode

Defined in:
(unknown)

Constant Summary collapse

DEFAULT =

The default blend mode, which specifies no blending

0 or :default
MULTIPLY =

The source color is multiplied by the destination and replaces the destination

1 or :multiply
SCREEN =

Multiplies the complements of the destination and source color values, then complements the result.

2 or :screen
OVERLAY =

Multiplies or screens the colors, depending on the destination color value. This is the inverse of hard-list

3 or :overlay
DARKEN =

Selects the darker of the destination and source colors

4 or :darken
LIGHTEN =

Selects the lighter of the destination and source colors

5 or :lighten
COLOR_DODGE =

Brightens the destination color to reflect the source color

6 or :color_dodge
COLOR_BURN =

Darkens the destination color to reflect the source color

7 or :color_burn
HARD_LIGHT =

Multiplies or screens the colors, depending on the source color value

8 or :hard_light
SOFT_LIGHT =

Darkens or lightens the colors, depending on the source color value

9 or :soft_light
DIFFERENCE =

Subtracts the darker of the two constituent colors from the lighter color

10 or :difference
EXCLUSION =

Produces an effect similar to that of the difference mode but lower in contrast

11 or :exclusion
COLOR =

Creates a color with the hue and saturation of the source color and the luminosity of the destination color

12 or :color
HUE =

Creates a color with the hue of the source color and the saturation and luminosity of the destination color

13 or :hue
SATURATION =

Creates a color with the saturation of the source color and the hue and luminosity of the destination color

14 or :saturation
LUMINOSITY =

Creates a color with the luminosity of the source color and the hue and saturation of the destination color

15 or :luminosity