code: function GaddStop(color, offset) {
              var stop = $("stop"),
                  attr = {
                      offset: +offset + "%"
                  };
              color = Snap.color(color);
              attr["stop-color"] = color.hex;
              if (color.opacity < 1) {
                  attr["stop-opacity"] = color.opacity;
              }
              $(stop, attr);
              var stops = this.stops(),
                  inserted;
              for (var i = 0; i < stops.length; i++) {
                  var stopOffset = parseFloat(stops[i].attr("offset"));
                  if (stopOffset > offset) {
                      this.node.insertBefore(stop, stops[i].node);
                      inserted = true;
                      break;
                  }
              }
              if (!inserted) {
                  this.node.appendChild(stop);
              }
              return this;
          }
docs: /*\
  Element.addStop
  [ method ]
  *
  Only for gradients!
  Adds another stop to the gradient.
  - color (string) stops color
  - offset (number) stops offset 0..100
  = (object) gradient element
  \