Constructor
new module:OffscreenCanvas(widthopt, heightopt, optionsopt)
Off-screen canvas constructor
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
width | Number | <optional> | 1 | Width of the canvas |
height | Number | <optional> | 1 | Height of the canvas |
options | ContainerOptions | <optional> | Specific options |