arcade-physics
Version:
Use Arcade Physics without Phaser.
22 lines • 851 B
TypeScript
export default CopyFrom;
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2020 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* Copies the `x`, `y`, `width` and `height` properties from the `source` Ellipse
* into the given `dest` Ellipse, then returns the `dest` Ellipse.
*
* @function Phaser.Geom.Ellipse.CopyFrom
* @since 3.0.0
*
* @generic {Phaser.Geom.Ellipse} O - [dest,$return]
*
* @param {Phaser.Geom.Ellipse} source - The source Ellipse to copy the values from.
* @param {Phaser.Geom.Ellipse} dest - The destination Ellipse to copy the values to.
*
* @return {Phaser.Geom.Ellipse} The destination Ellipse.
*/
declare function CopyFrom(source: Phaser.Geom.Ellipse, dest: Phaser.Geom.Ellipse): Phaser.Geom.Ellipse;
//# sourceMappingURL=CopyFrom.d.ts.map