module:OffscreenCanvas

Off-screen canvas class

Constructor

new module:OffscreenCanvas(widthopt, heightopt, optionsopt)

Off-screen canvas constructor

Parameters:
NameTypeAttributesDefaultDescription
widthNumber<optional>
1

Width of the canvas

heightNumber<optional>
1

Height of the canvas

optionsContainerOptions<optional>

Specific options