CreateEmptyCanvas (open)
Create a new canvas
Syntax
LOADLIB "wh::graphics/canvas.whlib";
OBJECT FUNCTION CreateEmptyCanvas(INTEGER width, INTEGER height, INTEGER initialcolor)Parameters
INTEGER widthWidth of the new canvas
INTEGER heightHeight of the new canvas
INTEGER initialcolorInitial color of the new canvas
Return value
OBJECTCanvas object