<static> contains(a, x, y) → {boolean}
Return true if the given x/y coordinates are within the Circle object.
Parameters
Name | Type | Description |
---|---|---|
a | Phaser.Circle | The Circle 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 circle, otherwise false.
- Source code: geom/Circle.js (Line 458)
Please login to continue.