0
Can u make a rounded rectangle with canvas?
Canvas rectangle
2 Respuestas
+ 2
Well you could use arc in javascript to draw a circle in canvas
canvas.arc(100, 70, 50, 0, 2 * Math.PI);
edit: ya Calvin's answer is more accurate so refer his code
tutorial on quadraticCurceTo() by MDN
https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/quadraticCurveTo
0
Go ahead, use this function.
https://code.sololearn.com/W0B3k2KgTCjg/?ref=app