UNPKG

arcade-physics

Version:
19 lines 666 B
export default ContainsRect; /** * @author Richard Davey <rich@photonstorm.com> * @copyright 2020 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Tests if one rectangle fully contains another. * * @function Phaser.Geom.Rectangle.ContainsRect * @since 3.0.0 * * @param {Phaser.Geom.Rectangle} rectA - The first rectangle. * @param {Phaser.Geom.Rectangle} rectB - The second rectangle. * * @return {boolean} True only if rectA fully contains rectB. */ declare function ContainsRect(rectA: Phaser.Geom.Rectangle, rectB: Phaser.Geom.Rectangle): boolean; //# sourceMappingURL=ContainsRect.d.ts.map