R2 - FillPolygon


void R2::FillPolygon(Array<PointL>^ points,
                     unsigned fillMode)

This method fills a polygon.

Parameters

Array<PointL>^ points

An array of points specifying the vertices of the polygon.

unsigned fillMode

One of the flags in the enumeration FillMode.

Notes

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.