Polygon fill Applet
Draw a polygon by clicking at each corner. Finish the polygon by
clicking on the first corner. Then see the interior pixels one at
a time by clicking on the step button.
The class ScanLine implements the scanline
algorithm. It uses the classes AEL to
represent the Active Edge List and IEL to
represent the Inactive Edge List. EdgeList is the superclass for AEL and
IEL. The class Edge represents one polygon
edge.