Rudimentary Line and Polyline implementations