# 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.

# Properties

A list of properties that are on every Two.Ellipse.

# width

The width of the ellipse.

# height

The height of the 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

Returns: Object

Return a JSON compatible plain object that represents the path.