- Author: Graham Mitchell
- Filename: PolygonDemo.java
Here are some more examples of the various functions at your disposal
in Java's graphics library. Download the following code and get it to
- There is a green pentagon being drawn on the screen. What happens
if you change the order of the points being added? Answer in a comment.
- Make a trapezoid
somewhere on the screen. The color doesn't matter, and it doesn't matter
if it's filled-in or an outline.
©2013–2015 Graham Mitchell
This assignment is licensed under a
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 United States License.