AlphaFormat Enumeration
Describes how to interpret the alpha component of a pixel.
Definition
Namespace: Avalonia.Platform
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public enum AlphaFormat
Public Enumeration AlphaFormat
type AlphaFormat
Members
Premul | 0 | All pixels have their alpha premultiplied in their color components. |
Unpremul | 1 | All pixels have their color components stored without any regard to the alpha. e.g. this is the default configuration for PNG images. |
Opaque | 2 | All pixels are stored as opaque. |