UNPKG

arcade-physics

Version:
14 lines 675 B
export default ContainsPoint; /** * Determines whether the specified point is contained within the rectangular region defined by this Rectangle object. * * @function Phaser.Geom.Rectangle.ContainsPoint * @since 3.0.0 * * @param {Phaser.Geom.Rectangle} rect - The Rectangle object. * @param {Phaser.Geom.Point} point - The point object to be checked. Can be a Phaser Point object or any object with x and y values. * * @return {boolean} A value of true if the Rectangle object contains the specified point, otherwise false. */ declare function ContainsPoint(rect: Phaser.Geom.Rectangle, point: Phaser.Geom.Point): boolean; //# sourceMappingURL=ContainsPoint.d.ts.map