Question: Write an app that continuously draws shapes of your choosing on a Canvas. Use random positions, sizes, locations, line widths, fills and alpha transparencies. The
Write an app that continuously draws shapes of your choosing on a Canvas. Use random positions, sizes, locations, line widths, fills and alpha transparencies. The shapes should randomly move around the Canvas in different directions and at different speeds.
Step by Step Solution
3.49 Rating (149 Votes )
There are 3 Steps involved in it
Here is the sample code for an Android app in Kotlin that describes what youre asking The custom View class ShapeDrawerView will draw shapes in this c... View full answer
Get step-by-step solutions from verified subject matter experts
