Version:

This is a **beta** release of our new docs system. Found an **issue**?

Please tell us about it in the**#**ðŸ“–**-newdocs-feedback** channel
on the Phaser Discord

Please tell us about it in the

name | type | arguments | Default | description |
---|---|---|---|---|

x | number | <optional> | 0 |
The x coordinate of the ellipse. |

y | number | <optional> | 0 |
The y coordinate of the ellipse. |

xRadius | number | <optional> | 0 |
The horizontal radius of the ellipse. |

yRadius | number | <optional> | 0 |
The vertical radius of the ellipse. |

startAngle | number | <optional> | 0 |
The start angle of the ellipse, in degrees. |

endAngle | number | <optional> | 360 |
The end angle of the ellipse, in degrees. |

clockwise | boolean | <optional> | false |
Sets if the the ellipse rotation is clockwise (true) or anti-clockwise (false) |

rotation | number | <optional> | 0 |
The rotation of the ellipse, in degrees. |

object

Since: 3.0.0

name | type | description |
---|---|---|

type | string |
The of the curve |

points | Array.<number> |
The arrays of points like |

object

Since: 3.0.0

name | type | description |
---|---|---|

type | string |
The of the curve. |

x | number |
The x coordinate of the ellipse. |

y | number |
The y coordinate of the ellipse. |

xRadius | number |
The horizontal radius of ellipse. |

yRadius | number |
The vertical radius of ellipse. |

startAngle | number |
The start angle of the ellipse, in degrees. |

endAngle | number |
The end angle of the ellipse, in degrees. |

clockwise | boolean |
Sets if the the ellipse rotation is clockwise (true) or anti-clockwise (false) |

rotation | number |
The rotation of ellipse, in degrees. |

object

Since: 3.0.0

name | type | description |
---|---|---|

type | string |
The of the curve. |

x | number |
The X coordinate of the curve's starting point. |

y | number |
The Y coordinate of the path's starting point. |

autoClose | boolean |
The path is auto closed. |

curves | Array.<Phaser.Types.Curves.JSONCurve> |
The list of the curves |

object

Since: 3.0.0