Phaser API Documentation

  Version: 

Member of: Phaser.Geom.Circle

<static> Clone(source)

Description:

Creates a new Circle instance based on the values contained in the given source.

Parameters:

name type description
source object | Phaser.Geom.Circle

The Circle to be cloned. Can be an instance of a Circle or a circle-like object, with x, y and radius properties.

Returns:
Description:

A clone of the source Circle.

Since: 3.0.0
Source: src/geom/circle/Clone.js (Line 9)