AlphaFormat Enum
Definition
Describes how to interpret the alpha component of a pixel.
public enum AlphaFormat
Fields
| Name | Description |
|---|---|
| Opaque | All pixels are stored as opaque. |
| Premul | All pixels have their alpha premultiplied in their color components. |
| Unpremul | All pixels have their color components stored without any regard to the alpha. e.g. this is the default configuration for PNG images. |
Opaque Field
All pixels are stored as opaque.
public Avalonia.Platform.AlphaFormat Opaque
Premul Field
All pixels have their alpha premultiplied in their color components.
public Avalonia.Platform.AlphaFormat Premul
Unpremul Field
All pixels have their color components stored without any regard to the alpha. e.g. this is the default configuration for PNG images.
public Avalonia.Platform.AlphaFormat Unpremul