# Two.Arc
Extends: Two.Path
# Constructor
Argument | Description |
---|---|
x | The x position of the arc. |
y | The y position of the arc. |
width | The width, horizontal diameter, of the arc. |
height | The height, vertical diameter, of the arc. |
startAngle | The starting angle of the arc in radians. |
endAngle | The ending angle of the arc in radians. |
resolution | The number of vertices used to construct the circle. |
# clone
Two.Arc.clone
Returns: Two.ArcSegment
Argument | Description |
---|---|
parent | The parent group or scene to add the clone to. |
Create a new instance of Two.ArcSegment with the same properties of the current path.