this.id=this._key=id; this.figure=figure; this.mode=ta.Annotation.Modes.View; this.shape=null; // dojox.gfx.Group this.boundingBox=null; // rect for boundaries this.hasAnchors=true; this.anchors={}; // ta.Anchor this._properties={ 'stroke':{ color:"blue", width:2 }, 'fill': "blue", 'label': "" }; if(this.figure) this.figure.add(this);