UNPKG

arcade-physics

Version:
14 lines 620 B
export default ContainsRect; /** * Check to see if the Circle contains all four points of the given Rectangle object. * * @function Phaser.Geom.Circle.ContainsRect * @since 3.0.0 * * @param {Phaser.Geom.Circle} circle - The Circle to check. * @param {(Phaser.Geom.Rectangle|object)} rect - The Rectangle object to check if it's within the Circle or not. * * @return {boolean} True if all of the Rectangle coordinates are within the circle, otherwise false. */ declare function ContainsRect(circle: Phaser.Geom.Circle, rect: (Phaser.Geom.Rectangle | object)): boolean; //# sourceMappingURL=ContainsRect.d.ts.map