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

◆ fill_polygon() [1/4]

void xtd::drawing::graphics::fill_polygon ( const xtd::drawing::brush brush,
const std::vector< xtd::drawing::point > &  points 
)

Fills the interior of a polygon defined by an array of points specified by xtd::drawing::point structures.

Parameters
brushxtd::drawing::brush that determines the characteristics of the fill.
pointsArray of xtd::drawing::point structures that represent the vertices of the polygon to fill.
Remarks
Every two consecutive points in the array specify a side of the polygon. In addition, if the last point and the first point do not coincide, they specify the closing side of the polygon.
Examples
graphics.cpp.