Skip to main content

BitmapBlendingMode Enumeration

Controls the way the bitmaps are drawn together.

Definition

Namespace: Avalonia.Media.Imaging
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public enum BitmapBlendingMode
View Source

Members

Unspecified0 
SourceOver1Source is placed over the destination.
Source2Only the source will be present.
Destination3Only the destination will be present.
DestinationOver4Destination is placed over the source.
SourceIn5The source that overlaps the destination, replaces the destination.
DestinationIn6Destination which overlaps the source, replaces the source.
SourceOut7Source is placed, where it falls outside of the destination.
DestinationOut8Destination is placed, where it falls outside of the source.
SourceAtop9Source which overlaps the destination, replaces the destination.
DestinationAtop10Destination which overlaps the source replaces the source.
Xor11The non-overlapping regions of source and destination are combined.
Plus12Display the sum of the source image and destination image.
Screen13Multiplies the complements of the backdrop and source color values, then complements the result.
Overlay14Multiplies or screens the colors, depending on the backdrop color value.
Darken15Selects the darker of the backdrop and source colors.
Lighten16Selects the lighter of the backdrop and source colors.
ColorDodge17Darkens the backdrop color to reflect the source color.
ColorBurn18Multiplies or screens the colors, depending on the source color value.
HardLight19Darkens or lightens the colors, depending on the source color value.
SoftLight20Subtracts the darker of the two constituent colors from the lighter color.
Difference21Produces an effect similar to that of the Difference mode but lower in contrast.
Exclusion22The source color is multiplied by the destination color and replaces the destination
Multiply23Creates a color with the hue of the source color and the saturation and luminosity of the backdrop color.
Hue24Creates a color with the hue of the source color and the saturation and luminosity of the backdrop color.
Saturation25Creates a color with the saturation of the source color and the hue and luminosity of the backdrop color.
Color26Creates a color with the hue and saturation of the source color and the luminosity of the backdrop color.
Luminosity27Creates a color with the luminosity of the source color and the hue and saturation of the backdrop color.

See Also

Reference

Avalonia.Media.Imaging Namespace