size(output) → {Phaser.Point}
The size of the Rectangle object, expressed as a Point object with the values of the width and height properties.
Parameters
Name | Type | Argument | Description |
---|---|---|---|
output | Phaser.Point | <optional> | Optional Point object. If given the values will be set into the object, otherwise a brand new Point object will be created and returned. |
Returns
The size of the Rectangle object.
- Source code: geom/Rectangle.js (Line 229)
Please login to continue.