Java Graphics Draw Polygons Applets

A polygon is a closed figure with many lines joined one to another. The ending point of one line is the starting point to another line and finally the last point is joins with the first point. java.awt.Graphics class comes with two methods and one constructor to draw polygons. void drawPolygon(int x[], int y[], int …

Java Graphics Draw Polygons Applets Read More »