this.apply(obj); this._pos(); this.shape.setTransform(this.transform); this.rectShape.setShape({x:this.start.x, y: this.start.y, width: this.end.x-this.start.x, height:this.end.y-this.start.y, r:this.radius}) .setStroke({ color:this.property('fill'), width:1 }).setFill([255,255,255,0.1]); this.labelShape.setShape({ x:this.textPosition.x, y:this.textPosition.y, text:this.property('label') }).setFill(this.property('fill'));