1.
Which method is used to load an image in HTML5 canvas?
2.
What event is used to ensure an image is fully loaded before drawing it on the canvas?
3.
What is the purpose of the drawImage method in HTML5 canvas?
4.
Which parameter of the drawImage method specifies the image source?
5.
How do you display an entire image on the canvas using drawImage?
6.
How do you draw a cropped portion of an image using drawImage?
7.
Which parameter of the drawImage method specifies the target position on the canvas?
8.
What does the onload event ensure before drawing an image on the canvas?
9.
How do you scale an image using drawImage?
10.
What is the purpose of the new Image() method in HTML5 canvas?