UNPKG

arcade-physics

Version:
18 lines 573 B
export default GetAspectRatio; /** * @author Richard Davey <rich@photonstorm.com> * @copyright 2020 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Calculates the width/height ratio of a rectangle. * * @function Phaser.Geom.Rectangle.GetAspectRatio * @since 3.0.0 * * @param {Phaser.Geom.Rectangle} rect - The rectangle. * * @return {number} The width/height ratio of the rectangle. */ declare function GetAspectRatio(rect: Phaser.Geom.Rectangle): number; //# sourceMappingURL=GetAspectRatio.d.ts.map