xtd 0.2.0
Loading...
Searching...
No Matches

◆ add_polygon() [1/2]

void xtd::drawing::drawing_2d::graphics_path::add_polygon ( const std::vector< xtd::drawing::point > &  points)

Adds a polygon to this path.

Parameters
pointsAn array of xtd::drawing::point structures that defines the polygon to add.
Remarks
The points in the points array specify the vertices of a polygon. If the first point in the array is not the same as the last point, those two points are connected to close the polygon.