1 2 3 4 5 6 7
SVG.Shape = function Shape(element) { this.constructor.call(this, element); }; // inherit from SVG.Element SVG.Shape.prototype = new SVG.Element();