Table of Contents

Method CreateAlphaData

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

CreateAlphaData(int, int, byte?)

Creates array of alpha components with the specified size and optionally fills it with the given value.

public static byte[] CreateAlphaData(int width, int height, byte? fill = null)

Parameters

width int

Image width.

height int

Image height.

fill byte?

Value to fill.

Returns

byte[]