render the all shapes
if(this.pendingImageCount){ return; } var ctx = this.rawNode.getContext("2d"); ctx.save(); ctx.clearRect(0, 0, this.rawNode.width, this.rawNode.height); for(var i = 0; i < this.children.length; ++i){ this.children[i]._render(ctx); } ctx.restore(); if("pendingRender" in this){ clearTimeout(this.pendingRender); delete this.pendingRender; }