Changes the size of this Canvas Texture.
name | type | arguments | description |
---|---|---|---|
width | number |
The new width of the Canvas. |
|
height | number | <optional> |
The new height of the Canvas. If not given it will use the width as the height. |
The Canvas Texture.