Phaser API Documentation


Member of: Phaser.Geom.Circle

<static> CircumferencePoint(circle, angle, [out])


Returns a Point object containing the coordinates of a point on the circumference of the Circle based on the given angle.


name type arguments description
circle Phaser.Geom.Circle

The Circle to get the circumference point on.

angle number

The angle from the center of the Circle to the circumference to return the point from. Given in radians.

out object | Phaser.Geom.Point <optional>

A Point, or point-like object, to store the results in. If not given a Point will be created.


A Point object where the x and y properties are the point on the circumference.

Since: 3.0.0