Enhancement:
I put the button ''yellow'' that allows to change color to yellow and draw with it.
I put the button ''Camera'' to allow and take pictures on which you can draw.
I put the button '' Minus'' to manage the global dot size
Questions:
1. How many different types of events does this app respond to ?
- 9 different types ( 5 color buttons for each color)
photo button,wipe button,
minus, and plus button to change dot size
2.what do the X and Y properties represent in the touch event handler
- X property represents the X coordinate of the point of canvas
where used touched
Y property represents the Y coordinate of the point of canvas where used touched.
3. Describe the differences between the start and previous properties in the dragged event handler.
- the start property takes the position of where the screen was touched and draws from this point
the previous property takes the previous position of where the screen was touched and draws from this new position
4. How the use of variable dotsize is an example of abstraction?
- instead of having specific value for the dotsize (5) we have more general value for the dotsize
5.
-abstraction means making something that is complicated simple. I think dotsize definition fits this definition.It also made this app usefull.