fitSprite(sprite)
Fits a sprites width to the bounds.
Parameters
| Name | Type | Description |
|---|---|---|
sprite | Phaser.Sprite | The Sprite to fit. |
- Source code: core/FlexGrid.js (Line 284)
fitSprite(sprite)
Fits a sprites width to the bounds.
| Name | Type | Description |
|---|---|---|
sprite | Phaser.Sprite | The Sprite to fit. |
Please login to continue.