Two.Arc

Extends: Two.Path

Constructor

ArgumentDescription
xThe x position of the arc.
yThe y position of the arc.
widthThe width, horizontal diameter, of the arc.
heightThe height, vertical diameter, of the arc.
startAngleThe starting angle of the arc in radians.
endAngleThe ending angle of the arc in radians.
resolutionThe 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 starting angle of the arc in radians.

endAngle

The ending angle of the arc in radians.

clone

Returns: Two.Arc

ArgumentDescription
parentThe parent group or scene to add the clone to.

Create a new instance of Two.Arc with the same properties as the current arc.