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.

See Also

Reference

Avalonia.Media.Imaging Namespace