AlphaFormat Enumeration

Describes how to interpret the alpha component of a pixel.

Definition

Namespace: Avalonia.Platform
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public enum AlphaFormat

Members

Premul0 All pixels have their alpha premultiplied in their color components.
Unpremul1 All pixels have their color components stored without any regard to the alpha. e.g. this is the default configuration for PNG images.
Opaque2 All pixels are stored as opaque.

See Also