code: function(geometry, style, featureId) {
          if (style.fill !== false) {
              this.setCanvasStyle("fill", style);
              this.renderPath(this.canvas, geometry, style, featureId, "fill");
              if (this.hitDetection) {
                  this.setHitContextStyle("fill", featureId, style);
                  this.renderPath(this.hitContext, geometry, style, featureId, "fill");
              }
          }
          if (style.stroke !== false) {
              this.setCanvasStyle("stroke", style);
              this.renderPath(this.canvas, geometry, style, featureId, "stroke");
              if (this.hitDetection) {
                  this.setHitContextStyle("stroke", featureId, style);
                  this.renderPath(this.hitContext, geometry, style, featureId, "stroke");
              }
          }
          this.setCanvasStyle("reset");
      }
docs: Method: drawLinearRing
  This method is only called by the renderer itself.
  
  Parameters:
  geometry - {<OpenLayers.Geometry>}
  style    - {Object}
  featureId - {String}