+ 1
Why there Is a line?
Why there is a diagonal line? https://code.sololearn.com/WrZrpK46aNVJ/?ref=app
3 Answers
+ 1
FF9900 thanks
0
I just moved context to cordinates you used for arc. And also set 2*Math.PI() to make full circle, you used 1.5.
As i figure out line is because arc start on diferent cordinate then you end with your moveTo() so it add line
https://www.w3schools.com/tags/canvas_arc.asp
https://code.sololearn.com/W9BFRUOIh8SK/?ref=app