Menu

(Solved) : 5a Create Custom View Class Two Circles Diameter 30 50 Square Width 50 First Circle Drawn Q33162786 . . .

5A. Create a custom view class, which has two circles of diameter 30 and 50 and a square of width 50. The first circle has to be drawn using Anti-alias turned off and the second anti-alias turned on. The first circle has to be filled with blue colour and the second with green. The rectangle should be filled with black colour. Assume the centre position for first circle as 30,30 and the second circle 100,100 and for rectange 150,150. Write all the code

5A. Create a custom view class, which has two circles of diameter 30 and 50 and a square of width 50. The first circle has to be drawn using Anti-alias turned off and the second anti-alias turned on. The first circle has to be filled with blue colour and the second with green. The rectangle should be filled with black colour. Assume the centre position for first circle as 30,30 and the second circle 100,100 and for rectange 150,150. Write all the code Show transcribed image text

Expert Answer


Answer to 5a Create Custom View Class Two Circles Diameter 30 50 Square Width 50 First Circle Drawn Q33162786 . . .

OR