Description:
In this lab, I had to create a app in which I am able to draw on the canvas with 3 different colors along with being able to choose the size of the paint brush. It must also contain a button for taking a picture of the work done and also a “wipe” button to delete all of the paint off the picture.
Code:
When one of the colored buttons are pressed, the color of the paint brush will change to the selected color. If the user clicks on the screen, a circle of the selected color will be drawn on the picture. The “TakePicture” button would take a picture and the wipe button will refresh the canvas. The “Smalldots” button will change the brush size to a small size while the “BigDots” button would make it large.
Screenshot:
These are the sample screenshots.