Skip to content

$createCanvas

Creates a new canvas.

Usage

$createCanvas[canvas;width?;height?]

Parameters

FieldDescriptionTypeRequired
canvasThe canvas name.stringtrue
widthThe canvas width.numberfalse
heightThe canvas height.numberfalse