Returns a line from four numbers [x1,y1,x2,y2].
See toFlatArray to create an array from a line.
const line = Lines.fromFlatArray(...[0, 0, 100, 100]);// line is {a: { x:0, y:0 }, b: { x: 100, y: 100 } } Copy
const line = Lines.fromFlatArray(...[0, 0, 100, 100]);// line is {a: { x:0, y:0 }, b: { x: 100, y: 100 } }
Array in the form [x1,y1,x2,y2]
Line
Returns a line from four numbers [x1,y1,x2,y2].
See toFlatArray to create an array from a line.