code: function () {
  		var renderer = this,
  			rendererDefs = renderer.defs;
  		renderer.box = null;
  		renderer.boxWrapper = renderer.boxWrapper.destroy();
  
  		// Call destroy on all gradient elements
  		destroyObjectProperties(renderer.gradients || {});
  		renderer.gradients = null;
  
  		// Defs are null in VMLRenderer
  		// Otherwise, destroy them here.
  		if (rendererDefs) {
  			renderer.defs = rendererDefs.destroy();
  		}
  
  		// Remove sub pixel fix handler
  		// We need to check that there is a handler, otherwise all functions that are registered for event 'resize' are removed
  		// See issue #982
  		if (renderer.subPixelFix) {
  			removeEvent(win, 'resize', renderer.subPixelFix);
  		}
  
  		renderer.alignedObjects = null;
  
  		return null;
  	}
docs: Destroys the renderer and its allocated members.