Canvas Draw Dashed Line. Starting point on circle var endAngle Math. Youll have to pick a path depending on your end goal.
Function drawDashedLinepattern ctxbeginPath. Dashed line var greenLine new KonvaLinepoints. Var distRemaining Mathsqrt dxdx dydy.
Var ctx canvas.
Else var dashLen stipple_length. Var dx x2-x dy y2-y. Var CP windowCanvasRenderingContext2D. If dashed ctxmoveTostart_xstart_y.