Ellipse#setTo()

setTo(x, y, width, height) → {Phaser.Ellipse}

Sets the members of the Ellipse to the specified values.

Parameters
Name Type Description
x number

The X coordinate of the upper-left corner of the framing rectangle of this ellipse.

y number

The Y coordinate of the upper-left corner of the framing rectangle of this ellipse.

width number

The overall width of this ellipse.

height number

The overall height of this ellipse.

Returns

This Ellipse object.

Source code: geom/Ellipse.js (Line 55)
doc_phaser
2017-02-14 10:45:35
Comments
Leave a Comment

Please login to continue.