Table of Contents

Method CreatePixels

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

CreatePixels(int, int, SKColor?)

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

public static SKColor[] CreatePixels(int width, int height, SKColor? fill = null)

Parameters

width int

Image width.

height int

Image height.

fill SKColor?

Color to fill.

Returns

SKColor[]