BitmapBlendingMode Enumeration
Controls the way the bitmaps are drawn together.
Definition
Namespace: Avalonia.Media.Imaging
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public enum BitmapBlendingMode
Public Enumeration BitmapBlendingMode
type BitmapBlendingMode
Members
| Unspecified | 0 | |
| SourceOver | 1 | Source is placed over the destination. |
| Source | 2 | Only the source will be present. |
| Destination | 3 | Only the destination will be present. |
| DestinationOver | 4 | Destination is placed over the source. |
| SourceIn | 5 | The source that overlaps the destination, replaces the destination. |
| DestinationIn | 6 | Destination which overlaps the source, replaces the source. |
| SourceOut | 7 | Source is placed, where it falls outside of the destination. |
| DestinationOut | 8 | Destination is placed, where it falls outside of the source. |
| SourceAtop | 9 | Source which overlaps the destination, replaces the destination. |
| DestinationAtop | 10 | Destination which overlaps the source replaces the source. |
| Xor | 11 | The non-overlapping regions of source and destination are combined. |
| Plus | 12 | Display the sum of the source image and destination image. |
| Screen | 13 | Multiplies the complements of the backdrop and source color values, then complements the result. |
| Overlay | 14 | Multiplies or screens the colors, depending on the backdrop color value. |
| Darken | 15 | Selects the darker of the backdrop and source colors. |
| Lighten | 16 | Selects the lighter of the backdrop and source colors. |
| ColorDodge | 17 | Darkens the backdrop color to reflect the source color. |
| ColorBurn | 18 | Multiplies or screens the colors, depending on the source color value. |
| HardLight | 19 | Darkens or lightens the colors, depending on the source color value. |
| SoftLight | 20 | Subtracts the darker of the two constituent colors from the lighter color. |
| 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 |
| Multiply | 23 | Creates a color with the hue of the source color and the saturation and luminosity of the backdrop color. |
| Hue | 24 | Creates a color with the hue of the source color and the saturation and luminosity of the backdrop color. |
| Saturation | 25 | Creates a color with the saturation of the source color and the hue and luminosity of the backdrop color. |
| Color | 26 | Creates a color with the hue and saturation of the source color and the luminosity of the backdrop color. |
| Luminosity | 27 | Creates a color with the luminosity of the source color and the hue and saturation of the backdrop color. |
Extension Methods
| ToSKBlendMode() | (Defined by SkiaSharpExtensions) |