Api - IPathArc Interface
Hierarchy
-
IPathCircle
- IPathArc
Implemented by
Index
Properties
endAngle
The angle (in degrees) to end drawing the arc, in polar (counter-clockwise) direction. May be less than start angle if it past 360.
Optional layer
Optional layer of this path.
origin
The main point of reference for this path.
radius
The radius of the circle.
startAngle
The angle (in degrees) to begin drawing the arc, in polar (counter-clockwise) direction.
type
The type of the path, e.g. "line", "circle", or "arc". These strings are enumerated in pathType.
Generated using TypeDoc
An arc path.
Examples:
var arc: IPathArc = { type: 'arc', origin: [0, 0], radius: 7, startAngle: 0, endAngle: 45 }; //typescript var arc = { type: 'arc', origin: [0, 0], radius: 7, startAngle: 0, endAngle: 45 }; //javascript