Ellipse#right

right : number The x coordinate of the rightmost point of the Ellipse. Changing the right property of an Ellipse object has no effect on the x property, but does adjust the width. Gets or sets the value of the rightmost point of the ellipse. Source code: geom/Ellipse.js (Line 209)

Ellipse#random()

random(out) → {Phaser.Point} Returns a uniformly distributed random point from anywhere within this Ellipse. 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 it

Ellipse#left

left The left coordinate of the Ellipse. The same as the X coordinate. Source code: geom/Ellipse.js (Line 190)

Ellipse#height

height : number The overall height of this ellipse. Source code: geom/Ellipse.js (Line 43)

Ellipse#getBounds()

getBounds() → {Phaser.Rectangle} Returns the framing rectangle of the ellipse as a Phaser.Rectangle object. Returns Phaser.Rectangle - The bounds of the Ellipse. Source code: geom/Ellipse.js (Line 75)

Ellipse#empty

empty : boolean Determines whether or not this Ellipse object is empty. Will return a value of true if the Ellipse objects dimensions are less than or equal to 0; otherwise false.If set to true it will reset all of the Ellipse objects properties to 0. An Ellipse object is empty if its width or height is less than or equal to 0. Gets or sets the empty state of the ellipse. Source code: geom/Ellipse.js (Line 276)

Ellipse#Ellipse

new Ellipse(x, y, width, height) Creates a Ellipse object. A curve on a plane surrounding two focal points. Parameters Name Type Argument Default Description x number <optional> 0 The X coordinate of the upper-left corner of the framing rectangle of this ellipse. y number <optional> 0 The Y coordinate of the upper-left corner of the framing rectangle of this ellipse. width number <optional> 0 The overall width of this ellipse. height number <optional>

Ellipse#copyTo()

copyTo(dest) → {object} Copies the x, y, width and height properties from this Ellipse to any given object. Parameters Name Type Description dest any The object to copy to. Returns object - This dest object. Source code: geom/Ellipse.js (Line 100)

Ellipse#copyFrom()

copyFrom(source) → {Phaser.Ellipse} Copies the x, y, width and height properties from any given object to this Ellipse. Parameters Name Type Description source any The object to copy from. Returns Phaser.Ellipse - This Ellipse object. Source code: geom/Ellipse.js (Line 87)

Ellipse#contains()

contains(x, y) → {boolean} Return true if the given x/y coordinates are within this Ellipse object. Parameters Name Type Description x number The X value of the coordinate to test. y number The Y value of the coordinate to test. Returns boolean - True if the coordinates are within this ellipse, otherwise false. Source code: geom/Ellipse.js (Line 138)