enum Gsk::BlendMode
Overview
The blend modes available for render nodes.
The implementation of each blend mode is deferred to the rendering pipeline.
See https://www.w3.org/TR/compositing-1/#blending for more information on blending and blend modes.
Defined in:
lib/gi-crystal/src/auto/gsk-4.0/gsk.crEnum Members
-
Default =
0_u32
-
The default blend mode, which specifies no blending
-
Multiply =
1_u32
-
The source color is multiplied by the destination and replaces the destination
-
Screen =
2_u32
-
Multiplies the complements of the destination and source color values, then complements the result.
-
Overlay =
3_u32
-
Multiplies or screens the colors, depending on the destination color value. This is the inverse of hard-list
-
Darken =
4_u32
-
Selects the darker of the destination and source colors
-
Lighten =
5_u32
-
Selects the lighter of the destination and source colors
-
ColorDodge =
6_u32
-
Brightens the destination color to reflect the source color
-
ColorBurn =
7_u32
-
Darkens the destination color to reflect the source color
-
HardLight =
8_u32
-
Multiplies or screens the colors, depending on the source color value
-
SoftLight =
9_u32
-
Darkens or lightens the colors, depending on the source color value
-
Difference =
10_u32
-
Subtracts the darker of the two constituent colors from the lighter color
-
Exclusion =
11_u32
-
Produces an effect similar to that of the difference mode but lower in contrast
-
Color =
12_u32
-
Creates a color with the hue and saturation of the source color and the luminosity of the destination color
-
Hue =
13_u32
-
Creates a color with the hue of the source color and the saturation and luminosity of the destination color
-
Saturation =
14_u32
-
Creates a color with the saturation of the source color and the hue and luminosity of the destination color
-
Luminosity =
15_u32
-
Creates a color with the luminosity of the source color and the hue and saturation of the destination color
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.
Instance Method Summary
- #color?
- #color_burn?
- #color_dodge?
- #darken?
- #default?
- #difference?
- #exclusion?
- #hard_light?
- #hue?
- #lighten?
- #luminosity?
- #multiply?
- #overlay?
- #saturation?
- #screen?
- #soft_light?