Phaser API Documentation

  Version: 

Member of: Phaser.Geom.Ellipse

<static> Equals(ellipse, toCompare)

Description:

Compares the x, y, width and height properties of the two given Ellipses. Returns true if they all match, otherwise returns false.

Parameters:

name type description
ellipse Phaser.Geom.Ellipse

The first Ellipse to compare.

toCompare Phaser.Geom.Ellipse

The second Ellipse to compare.

Returns:
Description:

true if the two Ellipse equal each other, otherwise false.

Type:
  • boolean
Since: 3.0.0
Source: src/geom/ellipse/Equals.js (Line 7)