resize(width, height)
Resizes the canvas view to the specified width and height
Parameters
Name | Type | Description |
---|---|---|
width | Number | the new width of the canvas view |
height | Number | the new height of the canvas view |
- Source code: pixi/renderers/canvas/CanvasRenderer.js (Line 216)
Please login to continue.