Table of Contents

Method Create

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

Create(int, int, Color)

Creates image with the specified size, filled with color.

public static Image Create(int width, int height, Color color)

Parameters

width int

Image width.

height int

Image height.

color Color

Color to fill.

Returns

Image

Create(int, int, SKColor[])

Creates image with the specified size and pixel data.

public static Image Create(int width, int height, SKColor[] pixels)

Parameters

width int

Image width.

height int

Image height.

pixels SKColor[]

Pixel data.

Returns

Image