Returns a Rectangle where the position and dimensions match the bounds of this Curve.
name | type | arguments | description |
---|---|---|---|
out | Phaser.Geom.Rectangle | <optional> |
A Rectangle object to store the bounds in. If not given a new Rectangle will be created. |
A Rectangle object holding the bounds of this curve. If out
was given it will be this object.