Write a declaration for each of the following: a. A line that extends from point (60, 100)

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 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.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  answer-question

Java Software Solutions

ISBN: 9789353063610

9th Edition

Authors: John Lewis, William Loftus

Question Posted: