Circle#clone()

clone(output) → {Phaser.Circle}

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

Parameters
Name Type Description
output Phaser.Circle

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

Returns

The cloned Circle object.

Source code: geom/Circle.js (Line 171)
doc_phaser
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.