Table of Contents

Method CreateRgbData

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

CreateRgbData(int, int, RGBValue?)

Creates array of RGBValue with the specified size and optionally fills it with the color.

public static RGBValue[] CreateRgbData(int width, int height, RGBValue? fill = null)

Parameters

width int

Image width.

height int

Image height.

fill RGBValue?

Color to fill.

Returns

RGBValue[]