Skip to content

Function: createCanvas

createCanvas(width, height, retina, Canvas?): HTMLCanvasElement

create canvas

Parameters

NameType
widthnumber
heightnumber
retinanumber
Canvas?any

Returns

HTMLCanvasElement

Defined in

utils.ts:267

Released under the MIT License.