Funktionreferenz


_WinAPI_Polygon


Draws a polygon consisting of two or more vertices connected by straight lines

#include <WinAPIGdi.au3>
_WinAPI_Polygon ( $hDC, Const ByRef $aPoint [, $iStart = 0 [, $iEnd = -1]] )

Parameter

$hDC Handle to the device context.
$aPoint The 2D array ([x1, y1], [x2, y2], ... [xN, yN]) that contains the vertices of the polygon in logical
units. The polygon is closed automatically by drawing a line from the last vertex to the first.
$iStart [optional] The index of array to start creating at.
$iEnd [optional] The index of array to stop creating at.

Rückgabewert

Success: True
Failure: False

Bemerkungen

The polygon is outlined by using the current pen and filled by using the current brush and polygon fill mode.

Siehe auch

Suche nach Polygon in der MSDN Bibliothek.