Table of Contents

Method ConvertAlphaToMask

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

ConvertAlphaToMask(byte)

Converts alpha components of the image to mask. Mask color is choosen automatically.

bool ConvertAlphaToMask(byte threshold)

Parameters

threshold byte

Alpha component treshold.

Returns

bool

ConvertAlphaToMask(RGBValue, byte)

Converts alpha components of the image to mask.

bool ConvertAlphaToMask(RGBValue rgb, byte threshold)

Parameters

rgb RGBValue

Mask color.

threshold byte

Alpha component treshold.

Returns

bool