CreateEmptyCanvas

Create a new canvas

Syntax

LOADLIB "wh::graphics/canvas.whlib";

OBJECT FUNCTION CreateEmptyCanvas(INTEGER width, INTEGER height, INTEGER initialcolor)

Parameters

INTEGER width

Width of the new canvas

INTEGER height

Height of the new canvas

INTEGER initialcolor

Initial color of the new canvas

Return value

OBJECT

Canvas object