Skip to content

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 ​

ParameterType
...options[Shape2DOptions<LineState>]

Returns ​

Line