Returns a Point object containing the coordinates of a point on the circumference of the Ellipse based on the given angle.
name | type | arguments | description |
---|---|---|---|
ellipse | Phaser.Geom.Ellipse |
The Ellipse to get the circumference point on. |
|
angle | number |
The angle from the center of the Ellipse 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.