code: function(element, inherit) {
      // construct element
      this.constructor.call(this, SVG.create(element))
  
      // inherit custom methods
      if (inherit)
        for (var method in inherit.prototype)
          if (typeof inherit.prototype[method] === 'function')
            this[method] = inherit.prototype[method]
    }
docs: Initialize