# 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. |
# fromObject
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.
# copy
Two.Circle.copy
| Argument | Description |
|---|---|
| circle | The reference Two.Circle |
Copy the properties of one Two.Circle onto another.
# 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.