Ellipse#clone()

clone(output) → {Phaser.Ellipse}

Returns a new Ellipse object with the same values for the x, y, width, and height properties as this Ellipse object.

Parameters
Name Type Description
output Phaser.Ellipse

Optional Ellipse object. If given the values will be set into the object, otherwise a brand new Ellipse object will be created and returned.

Returns

The cloned Ellipse object.

Source code: geom/Ellipse.js (Line 117)
doc_phaser
2017-02-14 10:45:29
Comments
Leave a Comment

Please login to continue.