UNPKG

arcade-physics

Version:
20 lines 758 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 Ellipse contains the given x / y coordinates. * * @function Phaser.Geom.Ellipse.Contains * @since 3.0.0 * * @param {Phaser.Geom.Ellipse} ellipse - The Ellipse to check. * @param {number} x - The x coordinate to check within the ellipse. * @param {number} y - The y coordinate to check within the ellipse. * * @return {boolean} True if the coordinates are within the ellipse, otherwise false. */ declare function Contains(ellipse: Phaser.Geom.Ellipse, x: number, y: number): boolean; //# sourceMappingURL=Contains.d.ts.map