Circle

Class: Phaser.Circle

Constructor

new Circle(x, y, diameter)

Creates a new Circle object with the center coordinate specified by the x and y parameters and the diameter specified by the diameter parameter.
If you call this function without parameters, a circle with x, y, diameter and radius properties set to 0 is created.

Parameters
Name Type Argument Default Description
x number <optional>
0

The x coordinate of the cen