# Two.ArcSegment
Extends: Two.Path
# Constructor
Argument | Description |
---|---|
x | The x position of the arc segment. |
y | The y position of the arc segment. |
innerRadius | The inner radius value of the arc segment. |
outerRadius | The outer radius value of the arc segment. |
startAngle | The start angle of the arc segment in Number. |
endAngle | The end angle of the arc segment in Number. |
resolution | The number of vertices used to construct the arc segment. |
# clone
Two.ArcSegment.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.
# toObject
Two.ArcSegment.toObject
Returns: Object
Return a JSON compatible plain object that represents the path.
← Two.Polygon Two.Star →