R2 - DrawPolygon


void R2::DrawPolygon(Array<PointL>^ points)

This method draws a polygon.

Parameters

Array<PointL>^ points

An array of points specifying the vertices of the polygon.

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.