code: public SVGPath drawTo(double[] xy) {
      return !isStarted() ? moveTo(xy[0], xy[1]) : lineTo(xy[0], xy[1]);
    }
docs: Draw a line given a series of coordinates.
  
  Helper function that will use "move" for the first point, "lineto" for the
  remaining.
  
  @param xy new coordinates
  @return path object, for compact syntax.