phaser/v3/typings/geom/circle/CircumferencePoint.d.ts
2017-01-16 22:43:07 +01:00

10 lines
630 B
TypeScript

import Circle from './Circle';
/**
* Returns a Point object containing the coordinates of a point on the circumference of the Circle based on the given angle.
* @method Phaser.Circle.circumferencePoint
* @param {Phaser.Circle} a - The first Circle object.
* @param {number} angle - The angle in radians (unless asDegrees is true) to return the point from.
* @param {Phaser.Point} [out] - An optional Point object to put the result in to. If none specified a new Point object will be created.
* @return {Phaser.Point} The Point object holding the result.
*/
export default function (circle: Circle, angle: number, out?: any): any;