this.apply(obj); this._rot(); this._pos(); // rotation matrix var rot=this.rotation; if(this.control.x<this.start.x) rot+=Math.PI; var tRot=dojox.gfx.matrix.rotate(rot); this.shape.setTransform(this.transform); this.pathShape.setShape( "M"+this.start.x+","+this.start.y+" Q"+this.control.x+","+this.control.y+" "+this.end.x+","+this.end.y+" l0,0" ).setStroke(this.property('stroke')); this.arrowheadGroup.setTransform({dx:this.start.x,dy:this.start.y}).applyTransform(tRot); this.arrowhead.setFill(this.property('fill')); this.labelShape.setShape({x:this.textPosition.x, y:this.textPosition.y, text:this.property('label'), align:this.textAlign}) .setFill(this.property('fill'));