//>>built define(["dojo/_base/kernel","dojo/_base/lang","./Annotation","./Anchor"],function(c){c.getObject("sketch",!0,dojox);var d=dojox.sketch;console.log(d);d.DoubleArrowAnnotation=function(a,b){d.Annotation.call(this,a,b);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=6;this.textYOffset=10;this.textAlign="middle";this.endRotation=this.startRotation=0;this.endArrowGroup=this.endArrow=this.startArrowGroup=this.startArrow= this.pathShape=this.labelShape=null;this.anchors.start=new d.Anchor(this,"start");this.anchors.control=new d.Anchor(this,"control");this.anchors.end=new d.Anchor(this,"end")};d.DoubleArrowAnnotation.prototype=new d.Annotation;c=d.DoubleArrowAnnotation.prototype;c.constructor=d.DoubleArrowAnnotation;c.type=function(){return"DoubleArrow"};c.getType=function(){return d.DoubleArrowAnnotation};c._rot=function(){var a=this.control.y-this.start.y,b=this.control.x-this.start.x;this.startRotation=Math.atan2(a, b);a=this.end.y-this.control.y;b=this.end.x-this.control.x;this.endRotation=Math.atan2(a,b)};c._pos=function(){var a=this.textOffset,a=this.control.y