# Two.Circle

Extends: Two.Path

# Constructor

Argument Description
x The x position of the circle.
y The y position of the circle.
radius The radius value of the circle.
resolution The number of vertices used to construct the circle.

# Properties

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

# fromObject

Returns: Two.Circle

Argument Description
obj Object notation of a Two.Circle to create a new instance

Create a new Two.Circle from an object notation of a Two.Circle.

nota-bene

Works in conjunction with Two.Circle.toObject

# radius

The size of the radius of the circle.

# copy

Argument Description
circle The reference Two.Circle

Copy the properties of one Two.Circle onto another.

# clone

Returns: Two.Circle

Argument Description
parent The parent group or scene to add the clone to.

Create a new instance of Two.Circle with the same properties of the current path.

# toObject

Returns: Object

Return a JSON compatible plain object that represents the path.