UNPKG

arcade-physics

Version:
20 lines 707 B
export default FloorAll; /** * @author Richard Davey <rich@photonstorm.com> * @copyright 2020 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Rounds a Rectangle's position and size down to the largest integer less than or equal to each current coordinate or dimension. * * @function Phaser.Geom.Rectangle.FloorAll * @since 3.0.0 * * @generic {Phaser.Geom.Rectangle} O - [rect,$return] * * @param {Phaser.Geom.Rectangle} rect - The Rectangle to adjust. * * @return {Phaser.Geom.Rectangle} The adjusted Rectangle. */ declare function FloorAll(rect: Phaser.Geom.Rectangle): Phaser.Geom.Rectangle; //# sourceMappingURL=FloorAll.d.ts.map