code: function(coords, options) {
          this._drawOnCanvasContext(options, function(g) {
              options = options || {};
              // Simplify point sequence
              var segment = this._simplify(coords);
              g.beginPath();
              this._trace(g, segment);
              this._setStrokeStyles(g, options);
              g.stroke();
              g.closePath();
          });
      }
docs: ----------------------------------------------------------------------- Public methods 
  Draws a line defined by the specified sequence of points.