Provide options without default values
Optionalline: LinePointsDtoOptionalopacity: numberOptionalcolours: string | string[]Optionalsize: numberOptionalupdatable: booleanOptionallineMesh: TThe line to draw, with its start and end.
OptionalopacityHow opaque the line is, from 0 (invisible) to 1 (solid).
OptionalcoloursColor of the line as a hex text such as #ff0000; a list of texts is also accepted.
OptionalsizeWidth of the drawn line.
OptionalupdatableWhen true, the drawn mesh is built so its ends can be moved later without redrawing.
OptionallineA mesh drawn earlier for this line; when given it is updated in place instead of a new one being made.
One line and how to draw it: its width, color and opacity, and whether the drawn mesh will be updated later.