3.Short answer questions (AnyFive):
(a)How will you play image on the Canvas? write the steps.
Answers
Answer:
How to draw image of Canvas:
Getting an image to display into your canvas follows a very simple formula made up of these two steps:
<>Gain access to an image source (aka an image file, another canvas element, a frame from a video element, etc.)
<> Display the data from the image source to the canvas.
Here are the steps:
<>In Canvas, open a page that contains the Content Selector.
<>In the Rich Content editor, put your cursor where you want to insert the image.
<>On the Content Selector, click the Images.
<>Click Upload a new image.
<>In the Folder box, select the folder in which to store the image. ...
<>Click Choose File.
How to display an image of Canvas:
Here is the situation. You have an image on your server that you'd like to display inside your canvas element. From the previous section, you kinda know that there are two steps involved. You also know that the draw Image method is going to be used somewhere. If you are with me so far, that's good! The next few sections will be a breeze
Explanation:
Hope it helps❣️☺️