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

# Properties

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

# width

The horizontal size of the arc.

# height

The vertical size of the arc.

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