The Line class takes a list of 2-tuples, or a NX2 NumPy Float array of point coordinates.
It will draw a straight line if there are two points, and a polyline if there are more than two.
lib.floatcanvas.FloatCanvas.DrawObject, lib.floatcanvas.FloatCanvas.LineOnlyMixin, lib.floatcanvas.FloatCanvas.PointsObjectMixin
The Line class takes a list of 2-tuples, or a NX2 NumPy Float array of point coordinates.
It will draw a straight line if there are two points, and a polyline if there are more than two.