UNPKG

arcade-physics

Version:
22 lines 795 B
export default Offset; /** * @author Richard Davey <rich@photonstorm.com> * @copyright 2020 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Offsets the Ellipse by the values given. * * @function Phaser.Geom.Ellipse.Offset * @since 3.0.0 * * @generic {Phaser.Geom.Ellipse} O - [ellipse,$return] * * @param {Phaser.Geom.Ellipse} ellipse - The Ellipse to be offset (translated.) * @param {number} x - The amount to horizontally offset the Ellipse by. * @param {number} y - The amount to vertically offset the Ellipse by. * * @return {Phaser.Geom.Ellipse} The Ellipse that was offset. */ declare function Offset(ellipse: Phaser.Geom.Ellipse, x: number, y: number): Phaser.Geom.Ellipse; //# sourceMappingURL=Offset.d.ts.map