getBounds(matrix) → {Phaser.Rectangle}
Returns the bounds of the Text as a rectangle.
The bounds calculation takes the worldTransform into account.
Parameters
Name | Type | Description |
---|---|---|
matrix | Phaser.Matrix | The transformation matrix of the Text. |
Returns
The framing rectangle
- Source code: gameobjects/Text.js (Line 1631)
Please login to continue.