UNPKG

arcade-physics

Version:
20 lines 748 B
export default Contains; /** * @author Richard Davey <rich@photonstorm.com> * @copyright 2020 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Check to see if the Circle contains the given x / y coordinates. * * @function Phaser.Geom.Circle.Contains * @since 3.0.0 * * @param {Phaser.Geom.Circle} circle - The Circle to check. * @param {number} x - The x coordinate to check within the circle. * @param {number} y - The y coordinate to check within the circle. * * @return {boolean} True if the coordinates are within the circle, otherwise false. */ declare function Contains(circle: Phaser.Geom.Circle, x: number, y: number): boolean; //# sourceMappingURL=Contains.d.ts.map