Circle#x

x : number The x coordinate of the center of the circle. Source code: geom/Circle.js (Line 26)

Circle#type

[readonly] type : number The const type of this object. Source code: geom/Circle.js (Line 54)

Circle#toString()

toString() → {string} Returns a string representation of this object. Returns string - a string representation of the instance. Source code: geom/Circle.js (Line 245)

Circle#top

top : number The sum of the y minus the radius property. Changing the top property of a Circle object has no effect on the x and y properties, but does change the diameter. Gets or sets the top of the circle. Source code: geom/Circle.js (Line 358)

Circle#setTo()

setTo(x, y, diameter) → {Circle} Sets the members of Circle to the specified values. Parameters Name Type Description x number The x coordinate of the center of the circle. y number The y coordinate of the center of the circle. diameter number The diameter of the circle. Returns Circle - This circle object. Source code: geom/Circle.js (Line 109)

Circle#right

right : number The x coordinate of the rightmost point of the circle. Changing the right property of a Circle object has no effect on the x and y properties. However it does affect the diameter, whereas changing the x value does not affect the diameter property. Gets or sets the value of the rightmost point of the circle. Source code: geom/Circle.js (Line 331)

Circle#random()

random(out) → {Phaser.Point} Returns a uniformly distributed random point from anywhere within this Circle. Parameters Name Type Argument Description out Phaser.Point | object <optional> A Phaser.Point, or any object with public x/y properties, that the values will be set in. If no object is provided a new Phaser.Point object will be created. In high performance areas avoid this by re-using an existing object. Returns Phaser.Point - An object containing the random point in its

Circle#radius

radius : number The length of a line extending from the center of the circle to any point on the circle itself. The same as half the diameter. Gets or sets the radius of the circle. Source code: geom/Circle.js (Line 281)

Circle#offsetPoint()

offsetPoint(point) → {Circle} Adjusts the location of the Circle object using a Point object as a parameter. This method is similar to the Circle.offset() method, except that it takes a Point object as a parameter. Parameters Name Type Description point Point A Point object to use to offset this Circle object (or any valid object with exposed x and y properties). Returns Circle - This Circle object. Source code: geom/Circle.js (Line 235)

Circle#offset()

offset(dx, dy) → {Circle} Adjusts the location of the Circle object, as determined by its center coordinate, by the specified amounts. Parameters Name Type Description dx number Moves the x value of the Circle object by this amount. dy number Moves the y value of the Circle object by this amount. Returns Circle - This Circle object. Source code: geom/Circle.js (Line 219)