Constructor
new exports(width, height)
Creates a new CanvasScene.
Parameters:
Name | Type | Description |
---|---|---|
width | number | The width of the canvas. |
height | number | The height of the canvas. |