arcade-physics
Version:
Use Arcade Physics without Phaser.
17 lines • 974 B
TypeScript
export default CircumferencePoint;
/**
* Returns a Point object containing the coordinates of a point on the circumference of the Circle based on the given angle.
*
* @function Phaser.Geom.Circle.CircumferencePoint
* @since 3.0.0
*
* @generic {Phaser.Geom.Point} O - [out,$return]
*
* @param {Phaser.Geom.Circle} circle - The Circle to get the circumference point on.
* @param {number} angle - The angle from the center of the Circle to the circumference to return the point from. Given in radians.
* @param {(Phaser.Geom.Point|object)} [out] - A Point, or point-like object, to store the results in. If not given a Point will be created.
*
* @return {(Phaser.Geom.Point|object)} A Point object where the `x` and `y` properties are the point on the circumference.
*/
declare function CircumferencePoint(circle: Phaser.Geom.Circle, angle: number, out?: (Phaser.Geom.Point | object)): (Phaser.Geom.Point | object);
//# sourceMappingURL=CircumferencePoint.d.ts.map