<static> contains(a, x, y) → {boolean}
Return true if the given x/y coordinates are within the Ellipse object.
Parameters
Name | Type | Description |
---|---|---|
a | Phaser.Ellipse | The Ellipse to be checked. |
x | number | The X value of the coordinate to test. |
y | number | The Y value of the coordinate to test. |
Returns
boolean -
True if the coordinates are within this ellipse, otherwise false.
- Source code: geom/Ellipse.js (Line 299)
Please login to continue.