Phaser API Documentation

  Version: 

Member of: Phaser.Geom.Ellipse

<static> ContainsPoint(ellipse, point)

Description:

Check to see if the Ellipse contains the given Point object.

Parameters:

name type description
ellipse Phaser.Geom.Ellipse

The Ellipse to check.

point object | Phaser.Geom.Point

The Point object to check if it's within the Circle or not.

Returns:
Description:

True if the Point coordinates are within the circle, otherwise false.

Type:
  • boolean
Since: 3.0.0