R2 - FillPolygon

void R2::FillPolygon(Array<Point>^ points,
                     unsigned FillMode)

This method draws a polygon.


Array<Point>^ points

An array of points specifying the vertices of the polygon.

unsigned FillMode

The fill mode.


If the first and last points in the specified array are not the same, a line is drawn from the last to the first point to close the polygon.