0

I am trying to draw an arc by using css canvas. reference,

https://www.w3schools.com/tags/canvas_arc.asp

BY using this trying on jsfiddle. But, it is not working as expected.

enter code here

JS Fiddle sample

What mistake I did it here.

Vineesh TP
  • 7,755
  • 12
  • 66
  • 130
  • 1
    Better documentation is found on MDN: [`arc`](//developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/arc), [``](//developer.mozilla.org/docs/Web/HTML/Element/canvas#sizing_the_canvas_using_css_versus_html). – Sebastian Simon Nov 10 '21 at 06:32
  • Understood , the Width and height ratio is 2:1 , This working, Thanks. – Vineesh TP Nov 10 '21 at 06:52

0 Answers0