Skip to main content

AlphaFormat Enumeration

Describes how to interpret the alpha component of a pixel.

Definition

Namespace: Avalonia.Platform
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public enum AlphaFormat
View Source

Members

Premul0All pixels have their alpha premultiplied in their color components.
Unpremul1All pixels have their color components stored without any regard to the alpha. e.g. this is the default configuration for PNG images.
Opaque2All pixels are stored as opaque.

See Also

Reference

Avalonia.Platform Namespace