--- layout: posts title: Api - IPathArc Interface ---

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

Hierarchy

Implemented by

Index

Properties

endAngle

endAngle: number

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

layer: string

Optional layer of this path.

origin

origin: IPoint

The main point of reference for this path.

radius

radius: number

The radius of the circle.

startAngle

startAngle: number

The angle (in degrees) to begin drawing the arc, in polar (counter-clockwise) direction.

type

type: string

The type of the path, e.g. "line", "circle", or "arc". These strings are enumerated in pathType.

Generated using TypeDoc