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)
Please login to continue.