GfxPolygon

Lowlevel graphics 
SYNTAX  GfxPolygon( x1, y1, x2, y2, ... ) 
RETURNS  NOTHING 
FUNCTION  Draws a polygon consisting of two or more points (vertices) connected by lines, using the current pen. The system closes the polygon automatically, if necessary, by drawing a line from the last vertex to the first.
This function takes variable number of arguments and accepts up to 12 points (24 arguments = 12 coordinate pairs). The number of arguments must be even as each pair represents (x,y) coordinates of the vertex. The polygon is filled with current brush and outline is painted with current pen. Parameters:
NOTE: This is LOWLEVEL graphic function. To learn more about lowlevel graphic functions please read TUTORIAL: Using lowlevel graphics. 
EXAMPLE  GfxSelectPen( colorGreen, 2 ); 
SEE ALSO  GfxPolyline() function , GfxSelectPen() function , GfxSelectSolidBrush() function 
The GfxPolygon function is used in the following formulas in AFL online library:
See updated/extended version online.