Skip to content

Documentation / @ripl/core / createLine

Function: createLine()

createLine(...options): Line

Defined in: packages/core/src/elements/line.ts:96

Factory function that creates a new Line instance.

Parameters

ParameterType
...options[Shape2DOptions<LineState>]

Returns

Line