Table of Contents

Property AlphaType

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

AlphaType

Gets or sets the alpha type used to define how pixel transparency is interpreted for this image frame.

public SKAlphaType AlphaType { get; set; }

Property Value

SKAlphaType

Remarks

The alpha type determines how the alpha channel is handled during rendering and blending operations. Common values include Premul (premultiplied alpha), Unpremul (unpremultiplied alpha), and Opaque. Setting the correct alpha type is important for accurate color blending and transparency effects.