var font=(ta.Annotation.labelFont)?ta.Annotation.labelFont:{family:"Times", size:"16px"};
this.apply(obj);
// create either from scratch or based on the passed nodethis.shape=this.figure.group.createGroup();
this.shape.getEventSource().setAttribute("id", this.id);
if(this.transform.dx||this.transform.dy)this.shape.setTransform(this.transform);
this.labelShape=this.shape.createText({
x:0, y:0, text:this.property('label'), align:"start"}).setFont(font).setFill(this.property('fill'));
this.lineShape=this.shape.createLine({ x1:1, x2:this.labelShape.getTextWidth(), y1:2, y2:2}).setStroke({ color:this.property('fill'), width:1});
this.lineShape.getEventSource().setAttribute("shape-rendering","crispEdges");