if(!dojo._hasResource["dojox.sketch.UnderlineAnnotation"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. dojo._hasResource["dojox.sketch.UnderlineAnnotation"] = true; dojo.provide("dojox.sketch.UnderlineAnnotation"); dojo.require("dojox.sketch.Annotation"); dojo.require("dojox.sketch.Anchor"); (function(){ var ta=dojox.sketch; ta.UnderlineAnnotation=function(figure, id){ ta.Annotation.call(this, figure, id); this.transform={dx:0, dy:0}; this.start={x:0, y:0}; this.property('label',this.id); this.labelShape=null; this.lineShape=null; this.anchors.start=new ta.Anchor(this, "start", false); }; ta.UnderlineAnnotation.prototype=new ta.Annotation; var p=ta.UnderlineAnnotation.prototype; p.constructor=ta.UnderlineAnnotation; p.type=function(){ return 'Underline'; }; p.getType=function(){ return ta.UnderlineAnnotation; }; p.apply=function(obj){ if(!obj) return; if(obj.documentElement) obj=obj.documentElement; this.readCommonAttrs(obj); for(var i=0; i' + '' + '' + this.property('label') + '' + ''; }; ta.Annotation.register("Underline"); })(); }