<static> circumferencePoint(a, angle, asDegrees, out) → {Phaser.Point}
Returns a Point object containing the coordinates of a point on the circumference of the Circle based on the given angle.
Parameters
Name | Type | Argument | Default | Description |
---|---|---|---|---|
a | Phaser.Circle | The first Circle object. | ||
angle | number | The angle in radians (unless asDegrees is true) to return the point from. | ||
asDegrees | boolean | <optional> | false | Is the given angle in radians (false) or degrees (true)? |
out | Phaser.Point | <optional> | An optional Point object to put the result in to. If none specified a new Point object will be created. |
Returns
The Point object holding the result.
- Source code: geom/Circle.js (Line 510)
Please login to continue.