Table of Contents

Enum AlphaFormat

Namespace
Avalonia.Platform
Assembly
Avalonia.Base.dll

Describes how to interpret the alpha component of a pixel.

public enum AlphaFormat

Fields

Opaque = 2

All pixels are stored as opaque.

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.