Skip to content

DrawPoly

Draw a polygon

Declaration

Source position: graphh.inc line 794

  procedure DrawPoly(NumPoints: Word; var polypoints);

Description

DrawPoly draws a polygon with NumberOfPoints corner points, using the current color and line-style. PolyPoints is an array of type PointType .

Errors

None.

See also

Name Description
Bar Draw filled rectangle
Bar3D Draw filled 3-dimensional rectangle
Rectangle Draw a rectangle on the screen.