code: function(mods) {
          if(!this._setfeature) {
              this.scale *= (mods.scale || 1);
              this.ratio *= (mods.ratio || 1);
              var oldRotation = this.rotation;
              this.rotation = (this.rotation + (mods.rotation || 0)) % 360;
              
              if(this.events.triggerEvent("beforetransform", mods) !== false) {
                  var feature = this.feature;
                  var geom = feature.geometry;
                  var center = this.center;
                  geom.rotate(-oldRotation, center);
                  if(mods.scale || mods.ratio) {
                      geom.resize(mods.scale, center, mods.ratio);
                  } else if(mods.center) {
                      feature.move(mods.center.getBounds().getCenterLonLat());
                  }
                  geom.rotate(this.rotation, center);
                  this.layer.drawFeature(feature);
                  feature.toState(OpenLayers.State.UPDATE);
                  this.events.triggerEvent("transform", mods);
              }
          }
          this.layer.drawFeature(this.box, this.renderIntent);
          this.drawHandles();
      }
docs: Method: transformFeature
  Transforms the feature.
  
  Parameters:
  mods - {Object} An object with optional scale, ratio, rotation and
  center properties.