You can draw a rectangle using the method draw rect but you


Question: You can draw a rectangle using the method draw Rect, but you could also use draw Polygon. With canvas as a calling object, write an invocation of draw Polygon that will draw a rectangle 10 pixels high and 20 pixels wide, whose upper left corner is at the point (7, 8).

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: You can draw a rectangle using the method draw rect but you
Reference No:- TGS02457044

Now Priced at $15 (50% Discount)

Recommended (92%)

Rated (4.4/5)