Returns a Rectangle with a position and size matching the bounds of this Path.
name | type | arguments | Default | description |
---|---|---|---|---|
out | Phaser.Geom.Rectangle | <optional> |
The Rectangle to store the bounds in. |
|
accuracy | number | <optional> | 16 |
The accuracy of the bounds calculations. Higher values are more accurate at the cost of calculation speed. |
The modified out
Rectangle, or a new Rectangle if none was provided.