bonk-docs/content/shapes/line.md

226 B

title date weight
Line 2019-09-14T19:36:39-07:00 10

To define a Line, give a start and end position.

var start = new Position2D(-1, 1);
var end = new Position2D(1, 1);
var line = new Line(start, end);