code: function() {
          return new OpenLayers.Geometry.Polygon([
              new OpenLayers.Geometry.LinearRing([
                  new OpenLayers.Geometry.Point(this.left, this.bottom),
                  new OpenLayers.Geometry.Point(this.right, this.bottom),
                  new OpenLayers.Geometry.Point(this.right, this.top),
                  new OpenLayers.Geometry.Point(this.left, this.top)
              ])
          ]);
      }
docs: APIMethod: toGeometry
  Create a new polygon geometry based on this bounds.
  
  Returns:
  {<OpenLayers.Geometry.Polygon>} A new polygon with the coordinates
  of this bounds.