0

How do I draw with the <canvas> element in html?

I can't draw a square

16th Feb 2024, 3:24 AM
Julie Cummings
Julie Cummings - avatar
2 Respostas
+ 3
Check an example. A square is a rectangle with all sides of the same size, so choose your coordinates accordingly. https://www.w3schools.com/jsref/canvas_rect.asp
16th Feb 2024, 4:15 AM
Tibor Santa
Tibor Santa - avatar
+ 1
"Insert +" your code here please...
16th Feb 2024, 10:58 AM
🇮🇱 Radin Masiha 🇮🇱
🇮🇱 Radin Masiha 🇮🇱 - avatar