R2 - DrawPolygon

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

This method draws a polygon.


Array<PointL>^ points

An array of points specifying the vertices of the polygon.


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.