How should you build the code segment?

An HTML page has a canvas element.
You need to draw a red rectangle on the canvas element dynamically.
The rectangle should resemble the following graphic.

How should you build the code segment? (To answer, select the appropriate options from the drop- down lists
in the answer area.)

An HTML page has a canvas element.
You need to draw a red rectangle on the canvas element dynamically.
The rectangle should resemble the following graphic.

How should you build the code segment? (To answer, select the appropriate options from the drop- down lists
in the answer area.)

Answer:

Explanation:



Leave a Reply 0

Your email address will not be published. Required fields are marked *