if(this.shape){ this.shape.setShape(this.cache); } else { this.shape = this.renderer.createEllipse(this.cache); } this.shape.applyTransform(dojox.gfx.matrix.rotateAt(this.cache.theta, this.cache.cx, this.cache.cy)) .setStroke(this.strokeStyle) .setFill(this.toStdFill(lighting, this.cache.normal));