Enumeration (GI Enum)

Gsk-4.0GskBlendMode

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.

Index

Enumeration Members

COLOR: number

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

COLOR_BURN: number

Darkens the destination color to reflect the source color

COLOR_DODGE: number

Brightens the destination color to reflect the source color

DARKEN: number

Selects the darker of the destination and source colors

DEFAULT: number

The default blend mode, which specifies no blending

DIFFERENCE: number

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

EXCLUSION: number

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

HARD_LIGHT: number

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

HUE: number

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

LIGHTEN: number

Selects the lighter of the destination and source colors

LUMINOSITY: number

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

MULTIPLY: number

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

OVERLAY: number

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

SATURATION: number

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

SCREEN: number

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

SOFT_LIGHT: number

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