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)
Please login to continue.