0
Issues With Canvas
Greetings everyone! Can someone tell me what wrong with the following code? I tried other ways as well, but it won't generate anything. This code look completely fine to me, but I'm new to Canvas, so I might be missing something.
4 ответов
+ 4
Vasilis Karapas , use fillStyle instead of strokeStyle property. Also your coordinates are wrong. Look at the code.
https://code.sololearn.com/W4rp95A6LJxW/?ref=app
0
https://code.sololearn.com/WJ88hmWI17x7/?ref=app
0
Oops, yeah, it was definitely the coordinates. Thank you for your help!
0
Vasilis Karapas , you are welcome.