b[0].y,u=Math.sqrt(r*r+t*t);if(0!=u){var x=r/u,y=x,C=t/u,A=C;u=f*C;var B=-f*x,z=[];p?a.setLineJoin("round"):2<b.length&&a.setMiterLimit(1.42);a.begin();r=x;t=C;if(k&&!g)this.paintMarker(a,b[0].x,b[0].y,x,C,n,d,f,m,!0);else{var v=b[0].x+u/2+m*x;var D=b[0].y+B/2+m*C;var F=b[0].x-u/2+m*x,L=b[0].y-B/2+m*C;g?(a.moveTo(v,D),z.push(function(){a.lineTo(F,L)})):(a.moveTo(F,L),a.lineTo(v,D))}var E=D=v=0;for(u=0;u<b.length-2;u++)if(B=mxUtils.relativeCcw(b[u].x,b[u].y,b[u+1].x,b[u+1].y,b[u+2].x,b[u+2].y),v=b[u+