Polygon Drawing Algorithms

To draw polygon add vertices by left click and complete polygon by clicking on first vertex.

ScanLine

Fill by edges