# 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. |
# clone
Two.Circle.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
Two.Circle.toObject
Returns: Object
Return a JSON compatible plain object that represents the path.