Table of Contents

Method InitAlpha

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

InitAlpha()

Initializes the image alpha channel data.

public virtual void InitAlpha()

Remarks

It is an error to call it if the image already has alpha data. If it doesn't, alpha data will be by default initialized to all pixels being fully opaque. But if the image has a mask color, all mask pixels will be completely transparent.