### Enumeration

# Gsk BlendMode

since: 4.0

#### Declaration

    enum Gsk.BlendMode

#### Description [src]

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.

Available since: 4.0

#### Members

`GSK_BLEND_MODE_DEFAULT`

  The default blend mode, which specifies no blending.

  - Value: `0`
  - Nickname: `default`
  - Available since: 4.0
`GSK_BLEND_MODE_MULTIPLY`

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

  - Value: `1`
  - Nickname: `multiply`
  - Available since: 4.0
`GSK_BLEND_MODE_SCREEN`

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

  - Value: `2`
  - Nickname: `screen`
  - Available since: 4.0
`GSK_BLEND_MODE_OVERLAY`

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

  - Value: `3`
  - Nickname: `overlay`
  - Available since: 4.0
`GSK_BLEND_MODE_DARKEN`

  Selects the darker of the destination and source colors.

  - Value: `4`
  - Nickname: `darken`
  - Available since: 4.0
`GSK_BLEND_MODE_LIGHTEN`

  Selects the lighter of the destination and source colors.

  - Value: `5`
  - Nickname: `lighten`
  - Available since: 4.0
`GSK_BLEND_MODE_COLOR_DODGE`

  Brightens the destination color to reflect the source color.

  - Value: `6`
  - Nickname: `color-dodge`
  - Available since: 4.0
`GSK_BLEND_MODE_COLOR_BURN`

  Darkens the destination color to reflect the source color.

  - Value: `7`
  - Nickname: `color-burn`
  - Available since: 4.0
`GSK_BLEND_MODE_HARD_LIGHT`

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

  - Value: `8`
  - Nickname: `hard-light`
  - Available since: 4.0
`GSK_BLEND_MODE_SOFT_LIGHT`

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

  - Value: `9`
  - Nickname: `soft-light`
  - Available since: 4.0
`GSK_BLEND_MODE_DIFFERENCE`

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

  - Value: `10`
  - Nickname: `difference`
  - Available since: 4.0
`GSK_BLEND_MODE_EXCLUSION`

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

  - Value: `11`
  - Nickname: `exclusion`
  - Available since: 4.0
`GSK_BLEND_MODE_COLOR`

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

  - Value: `12`
  - Nickname: `color`
  - Available since: 4.0
`GSK_BLEND_MODE_HUE`

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

  - Value: `13`
  - Nickname: `hue`
  - Available since: 4.0
`GSK_BLEND_MODE_SATURATION`

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

  - Value: `14`
  - Nickname: `saturation`
  - Available since: 4.0
`GSK_BLEND_MODE_LUMINOSITY`

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

  - Value: `15`
  - Nickname: `luminosity`
  - Available since: 4.0