Phaser API Documentation

  Version: 

Member of: Phaser.Geom.Ellipse

<static> Clone(source)

Description:

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

Parameters:

name type description
source Phaser.Geom.Ellipse

The Ellipse to be cloned. Can be an instance of an Ellipse or a ellipse-like object, with x, y, width and height properties.

Returns:
Description:

A clone of the source Ellipse.

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