arcade-physics
Version:
Use Arcade Physics without Phaser.
21 lines • 848 B
TypeScript
export default OffsetPoint;
/**
* @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 in the `x` and `y` properties of the Point object.
*
* @function Phaser.Geom.Ellipse.OffsetPoint
* @since 3.0.0
*
* @generic {Phaser.Geom.Ellipse} O - [ellipse,$return]
*
* @param {Phaser.Geom.Ellipse} ellipse - The Ellipse to be offset (translated.)
* @param {(Phaser.Geom.Point|object)} point - The Point object containing the values to offset the Ellipse by.
*
* @return {Phaser.Geom.Ellipse} The Ellipse that was offset.
*/
declare function OffsetPoint(ellipse: Phaser.Geom.Ellipse, point: (Phaser.Geom.Point | object)): Phaser.Geom.Ellipse;
//# sourceMappingURL=OffsetPoint.d.ts.map