Rectangle#size()

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)
doc_phaser
2017-02-14 11:07:05
Comments
Leave a Comment

Please login to continue.