code: function(verts, styles, ctx){
  
              var vert = verts[0]
                  ,x = vert.x
                  ,y = vert.y
                  ,l = verts.length
                  ;
  
              ctx = ctx || this.ctx;
              ctx.beginPath();
              this.setStyle( styles, ctx );
  
              ctx.moveTo(x, y);
  
              for ( var i = 1; i < l; ++i ){
  
                  vert = verts[ i ];
                  x = vert.x;
                  y = vert.y;
                  ctx.lineTo(x, y);
              }
  
              if ( l > 2 ){
                  ctx.closePath();
              }
  
              ctx.stroke();
              ctx.fill();
          }
docs: CanvasRenderer#drawPolygon( verts, styles[, ctx] )
  - verts (Array): Array of [[Vectorish]] vertices
  - styles (Object): The styles configuration
  - ctx (Canvas2DContext): The canvas context
  
  Draw a polygon to specified canvas context.