Assuming you have a graphics object called shape write a


Question: 1. Assuming you have a Graphics object called shape, write a statement that will draw a square with a height of 100, such that its upper-left corner is at point (35, 50).

2. Assuming you have a Graphics object called page, write a statement that will draw a circle centered on point (50, 50) with a radius of 20 pixels.

3. The following lines of code draw the eyes of the snowman in the Snowman applet. The eyes seem centered on the face when drawn, but the first parameters of each call are not equally offset from the midpoint. Explain.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Assuming you have a graphics object called shape write a
Reference No:- TGS02318539

Expected delivery within 24 Hours