Question: Using the Graphics object g, create the following shapes 8) Using your knowledge of the drawRect and drawLine methods, create the following figure whose top-left

 Using the Graphics object g, create the following shapes 8) Using
your knowledge of the drawRect and drawLine methods, create the following figure

Using the Graphics object g, create the following shapes 8) Using your knowledge of the drawRect and drawLine methods, create the following figure whose top-left corner is at 20, 20 and whose width is 100 and height is 80. (Hint: First write the commands to draw the rectangle, then write the commands to draw the four lincs inside the rectangle.) It might help to label the beginning and ending points of each of the 4 cross lines

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!