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>
0

The overall height of this ellipse.

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

Please login to continue.