Draw Canvas App - Part 2
Description and Objective
- This app draws a shape (rectangle, circle or ellipse) of a (size small, medium or large) at the specified coordinate on a canvas.
Things to Do
- In this second part of the app, you will add the event listening funtionality to components.
- Once the "Draw" button is clicked the selected shape, size, position and the fill option parameters will be used to draw a shape on the canvas as requested.
- The position of the drawn shape will be relative to the origin which is located on the top-left corner of the canvas.
- Aside from drawing the shape on the canvas the name of the shape will be displayed in the text area beneath the canvas.