Table of Contents

Method Reset

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

Reset(int, int, bool)

Creates a fresh image.

public virtual bool Reset(int width, int height, bool clear = false)

Parameters

width int

New image width.

height int

New image height

clear bool

If true, initialize the image to black.

Returns

bool

true if the call succeeded, false otherwise.

Reset()

Destroys the image data.

public virtual void Reset()