Question: Write a declaration for each of the following: a. A line that extends from point (60, 100) to point (30, 90) b. A rectangle that

Write a declaration for each of the following:

a. A line that extends from point (60, 100) to point (30, 90)

b. A rectangle that is 20 pixels wide, 100 pixels high, and has its upper-left corner at point (10, 10).

c. A circle that is centered at point (50, 75) and has a radius of 30.

d. An ellipse that is centered at point (150, 180) and is 100 pixels wide and 80 pixels high.

Step by Step Solution

3.44 Rating (157 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a Line line new Line60 100 30 9... View full answer

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 Java Software Solutions Questions!