Table of Contents

Enum BitmapBlendingMode

Namespace
Avalonia.Media.Imaging
Assembly
Avalonia.Base.dll

Controls the way the bitmaps are drawn together.

public enum BitmapBlendingMode : byte

Fields

Color = 26

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

ColorBurn = 18

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

ColorDodge = 17

Darkens the backdrop color to reflect the source color.

Darken = 15

Selects the darker of the backdrop and source colors.

Destination = 3

Only the destination will be present.

DestinationAtop = 10

Destination which overlaps the source replaces the source.

DestinationIn = 6

Destination which overlaps the source, replaces the source.

DestinationOut = 8

Destination is placed, where it falls outside of the source.

DestinationOver = 4

Destination is placed over the source.

Difference = 21

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

Exclusion = 22

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

HardLight = 19

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

Hue = 24

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

Lighten = 16

Selects the lighter of the backdrop and source colors.

Luminosity = 27

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

Multiply = 23

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

Overlay = 14

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

Plus = 12

Display the sum of the source image and destination image.

Saturation = 25

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

Screen = 13

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

SoftLight = 20

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

Source = 2

Only the source will be present.

SourceAtop = 9

Source which overlaps the destination, replaces the destination.

SourceIn = 5

The source that overlaps the destination, replaces the destination.

SourceOut = 7

Source is placed, where it falls outside of the destination.

SourceOver = 1

Source is placed over the destination.

Unspecified = 0
Xor = 11

The non-overlapping regions of source and destination are combined.