Table of Contents

Method SeparateAlphaData

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

SeparateAlphaData(SKColor[], out RGBValue[], out byte[])

Converts array of SKColor into array of RGBValue and array of alpha components.

public static void SeparateAlphaData(SKColor[] data, out RGBValue[] rgb, out byte[] alpha)

Parameters

data SKColor[]

Source array with pixel data.

rgb RGBValue[]

Destination array of RGBValue.

alpha byte[]

Destination array of byte with alpha components.