0
Does anyone relize that in HTML5 canvas that the this code makes a square?
var c=document.getElementById("canvas1"); var ctx=c.getContext("2d"); ctx.fillRect(20,20,100,100); this code was provided by the publisher on HTML HTML5 Canvas?
2 odpowiedzi
+ 1
well you can see that on my code
https://code.sololearn.com/WA2oSg6Umk55/?ref=app
0
Thank you Sudarshan Rai. Mine looks nothing like that.