resize(width, height) → {Phaser.BitmapData}
Resizes the BitmapData. This changes the size of the underlying canvas and refreshes the buffer.
Parameters
Name | Type | Description |
---|---|---|
width | integer | The new width of the BitmapData. |
height | integer | The new height of the BitmapData. |
Returns
This BitmapData object for method chaining.
- Source code: gameobjects/BitmapData.js (Line 552)
Please login to continue.