Share via


BlendMode Enum

Definition

Specifies the blend mode to use when compositing images or drawings.

public enum class BlendMode
public enum BlendMode
type BlendMode = 
Public Enum BlendMode
Inheritance
BlendMode

Fields

Name Value Description
Normal 0

Normal blending mode which simply draws the source over the destination.

Multiply 1

Multiplies the colors of the source with the destination, resulting in a darker image.

Screen 2

Multiplies the complements of the source and destination colors, then complements the result, resulting in a lighter image.

Overlay 3

Multiplies or screens the colors depending on the destination color, preserving highlights and shadows.

Darken 4

Selects the darker of the source and destination colors for each pixel.

Lighten 5

Selects the lighter of the source and destination colors for each pixel.

ColorDodge 6

Brightens the destination color to reflect the source color, resulting in a lighter image.

ColorBurn 7

Darkens the destination color to reflect the source color, resulting in a darker image.

SoftLight 8

Darkens or lightens the colors depending on the source color, creating a subtle effect.

HardLight 9

Similar to overlay but with source and destination reversed, creating a more dramatic effect.

Difference 10

Subtracts the darker of the two colors from the lighter color, creating an inverted effect.

Exclusion 11

Similar to difference but with lower contrast, resulting in a more muted effect.

Hue 12

Preserves the hue of the source color while using the saturation and luminosity of the destination.

Saturation 13

Preserves the saturation of the source color while using the hue and luminosity of the destination.

Color 14

Preserves the hue and saturation of the source color while using the luminosity of the destination.

Luminosity 15

Preserves the luminosity of the source color while using the hue and saturation of the destination.

Clear 16

Clears the destination area, making it fully transparent.

Copy 17

Copies the source over the destination, ignoring the destination.

SourceIn 18

Shows the source where both the source and destination overlap, otherwise displays transparency.

SourceOut 19

Shows the source where it doesn't overlap with the destination, otherwise displays transparency.

SourceAtop 20

Shows the source where it overlaps with non-transparent parts of the destination.

DestinationOver 21

Shows the destination over the source.

DestinationIn 22

Shows the destination where both the source and destination overlap, otherwise displays transparency.

DestinationOut 23

Shows the destination where it doesn't overlap with the source, otherwise displays transparency.

DestinationAtop 24

Shows the destination where it overlaps with non-transparent parts of the source.

Xor 25

Shows the source where it doesn't overlap with the destination and shows the destination where it doesn't overlap with the source.

PlusDarker 26

Adds the source and destination colors, favoring darker results.

PlusLighter 27

Adds the source and destination colors, favoring lighter results.

Applies to