a:41:{s:9:"#provides";s:27:"dojox.sketch.LeadAnnotation";s:9:"#resource";s:24:"sketch/LeadAnnotation.js";s:9:"#requires";a:2:{i:0;a:2:{i:0;s:6:"common";i:1;s:23:"dojox.sketch.Annotation";}i:1;a:2:{i:0;s:6:"common";i:1;s:19:"dojox.sketch.Anchor";}}s:37:"dojox.sketch.LeadAnnotation.prototype";a:1:{s:7:"summary";s:0:"";}s:49:"dojox.sketch.LeadAnnotation.prototype.constructor";a:1:{s:7:"summary";s:0:"";}s:27:"dojox.sketch.LeadAnnotation";a:5:{s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:6:"figure";a:1:{s:4:"type";s:0:"";}s:2:"id";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:501:" ta.Annotation.call(this, figure, id); this.transform={dx:0, dy:0 }; this.start={ x:0, y:0 }; this.control={x:100, y:-50}; this.end={ x:200, y:0 }; this.textPosition={ x:0, y:0 }; this.textOffset=4; this.textAlign="middle"; this.textYOffset=10; // this.property('label',this.id); this.pathShape=null; this.labelShape=null; this.anchors.start=new ta.Anchor(this, "start"); this.anchors.control=new ta.Anchor(this, "control"); this.anchors.end=new ta.Anchor(this, "end");";s:9:"classlike";b:1;s:7:"summary";s:0:"";}s:37:"dojox.sketch.LeadAnnotation.transform";a:2:{s:8:"instance";s:27:"dojox.sketch.LeadAnnotation";s:7:"summary";s:0:"";}s:33:"dojox.sketch.LeadAnnotation.start";a:2:{s:8:"instance";s:27:"dojox.sketch.LeadAnnotation";s:7:"summary";s:0:"";}s:35:"dojox.sketch.LeadAnnotation.control";a:2:{s:8:"instance";s:27:"dojox.sketch.LeadAnnotation";s:7:"summary";s:0:"";}s:31:"dojox.sketch.LeadAnnotation.end";a:2:{s:8:"instance";s:27:"dojox.sketch.LeadAnnotation";s:7:"summary";s:0:"";}s:40:"dojox.sketch.LeadAnnotation.textPosition";a:2:{s:8:"instance";s:27:"dojox.sketch.LeadAnnotation";s:7:"summary";s:0:"";}s:38:"dojox.sketch.LeadAnnotation.textOffset";a:2:{s:8:"instance";s:27:"dojox.sketch.LeadAnnotation";s:7:"summary";s:0:"";}s:37:"dojox.sketch.LeadAnnotation.textAlign";a:2:{s:8:"instance";s:27:"dojox.sketch.LeadAnnotation";s:7:"summary";s:0:"";}s:39:"dojox.sketch.LeadAnnotation.textYOffset";a:2:{s:8:"instance";s:27:"dojox.sketch.LeadAnnotation";s:7:"summary";s:0:"";}s:37:"dojox.sketch.LeadAnnotation.pathShape";a:2:{s:8:"instance";s:27:"dojox.sketch.LeadAnnotation";s:7:"summary";s:0:"";}s:38:"dojox.sketch.LeadAnnotation.labelShape";a:2:{s:8:"instance";s:27:"dojox.sketch.LeadAnnotation";s:7:"summary";s:0:"";}s:41:"dojox.sketch.LeadAnnotation.anchors.start";a:2:{s:8:"instance";s:27:"dojox.sketch.LeadAnnotation";s:7:"summary";s:0:"";}s:43:"dojox.sketch.LeadAnnotation.anchors.control";a:2:{s:8:"instance";s:27:"dojox.sketch.LeadAnnotation";s:7:"summary";s:0:"";}s:39:"dojox.sketch.LeadAnnotation.anchors.end";a:2:{s:8:"instance";s:27:"dojox.sketch.LeadAnnotation";s:7:"summary";s:0:"";}s:22:"ta.LeadAnnotation.type";a:4:{s:4:"type";s:8:"Function";s:6:"source";s:35:" p.type=function(){ return 'Lead'; ";s:9:"prototype";s:17:"ta.LeadAnnotation";s:7:"summary";s:0:"";}s:25:"ta.LeadAnnotation.getType";a:4:{s:4:"type";s:8:"Function";s:6:"source";s:49:" p.getType=function(){ return ta.LeadAnnotation; ";s:9:"prototype";s:17:"ta.LeadAnnotation";s:7:"summary";s:0:"";}s:22:"ta.LeadAnnotation._pos";a:5:{s:4:"type";s:8:"Function";s:6:"source";s:799:" var offset=this.textOffset, x=0, y=0; var slope=this.calculate.slope(this.control, this.end); if(Math.abs(slope)>=1){ x=this.end.x+this.calculate.dx(this.control, this.end, offset); if(this.control.y>this.end.y){ y=this.end.y-offset; } else { y=this.end.y+offset+this.textYOffset; } } else if(slope==0){ x=this.end.x+offset; y=this.end.y+this.textYOffset; } else { if(this.start.x>this.end.x){ x=this.end.x-offset; this.textAlign="end"; } else { x=this.end.x+offset; this.textAlign="start"; } if(this.start.y' + '' + '' + this.property('label') + '' + '';";s:9:"prototype";s:17:"ta.LeadAnnotation";s:7:"summary";s:0:"";}s:12:"dojox.sketch";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}s:5:"dojox";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}}