+ 8

[solved ] Draw image in canvas

I am wondering how to draw an image in canvas I tried and my code is below ...can anyone tell me what is wrong.. https://code.sololearn.com/WER49MfsNMK9/?ref=app

1st Feb 2019, 2:18 PM
Madhav
Madhav - avatar
2 Réponses
+ 4
Need image onload callback to draw the image on camvas https://code.sololearn.com/W0j5wjihKpWk/?ref=app
1st Feb 2019, 2:37 PM
Calviղ
Calviղ - avatar
+ 6
Calviղ thanks a lot 👍
1st Feb 2019, 3:27 PM
Madhav
Madhav - avatar