phaser/v3/typings/geom/circle/CircumferencePoint.d.ts

11 lines
630 B
TypeScript
Raw Normal View History

2017-01-16 21:43:07 +00:00
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;