# Two.Ellipse
Extends: Two.Path
# Constructor
Argument | Description |
---|---|
x | The x position of the ellipse. |
y | The y position of the ellipse. |
rx | The radius value of the ellipse in the x direction. |
ry | The radius value of the ellipse in the y direction. |
resolution | The number of vertices used to construct the ellipse. |
# clone
Two.Ellipse.clone
Returns: Two.Ellipse
Argument | Description |
---|---|
parent | The parent group or scene to add the clone to. |
Create a new instance of Two.Ellipse with the same properties of the current path.
# toObject
Two.Ellipse.toObject
Returns: Object
Return a JSON compatible plain object that represents the path.