--- layout: posts title: Api - IPathLine Interface ---
A line path.
Examples:
var line: IPathLine = { type: 'line', origin: [0, 0], end: [1, 1] }; //typescript var line = { type: 'line', origin: [0, 0], end: [1, 1] }; //javascript
The end point defining the line. The start point is the origin.
Optional layer of this path.
The main point of reference for this path.
The type of the path, e.g. "line", "circle", or "arc". These strings are enumerated in pathType.
Generated using TypeDoc
A line path.
Examples:
var line: IPathLine = { type: 'line', origin: [0, 0], end: [1, 1] }; //typescript var line = { type: 'line', origin: [0, 0], end: [1, 1] }; //javascript