# 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.

# Properties

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

# innerRadius

The size of the inner radius of the arc segment.

# outerRadius

The size of the outer radius of the arc segment.

# startAngle

The angle of one side for the arc segment.

# endAngle

The angle of the other side for the arc segment.

# 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

Returns: Object

Return a JSON compatible plain object that represents the path.