mirror of
https://github.com/photonstorm/phaser
synced 2024-12-19 09:34:02 +00:00
10 lines
388 B
TypeScript
10 lines
388 B
TypeScript
|
/**
|
||
|
* Checks whether the x and y coordinates are contained within this polygon.
|
||
|
*
|
||
|
* @method Phaser.Polygon#contains
|
||
|
* @param {number} x - The X value of the coordinate to test.
|
||
|
* @param {number} y - The Y value of the coordinate to test.
|
||
|
* @return {boolean} True if the coordinates are within this polygon, otherwise false.
|
||
|
*/
|
||
|
export default function (polygon: any, point: any): boolean;
|