Documentation / @ripl/core / createLine
Function: createLine() ​
createLine(...
options):Line
Defined in: packages/core/src/elements/line.ts:86
Factory function that creates a new Line instance.
Parameters ​
| Parameter | Type |
|---|---|
...options | [Shape2DOptions<LineState>] |