DrawPolygon()

Graphics::DrawPolygon(const SharedPtr<Pen>&, const ArrayPtr<Point>&) method

Draws a polygon using the specified pen.

void System::Drawing::Graphics::DrawPolygon(const SharedPtr<Pen> &pen, const ArrayPtr<Point> &points)

Arguments

ParameterTypeDescription
penconst SharedPtr<Pen>&A pen to use when drawing the polygon
pointsconst ArrayPtr<Point>&Array of vertices that defines the polygon

Graphics::DrawPolygon(const SharedPtr<Pen>&, const ArrayPtr<PointF>&) method

Draws a polygon using the specified pen.

void System::Drawing::Graphics::DrawPolygon(const SharedPtr<Pen> &pen, const ArrayPtr<PointF> &points)

Arguments

ParameterTypeDescription
penconst SharedPtr<Pen>&A pen to use when drawing the polygon
pointsconst ArrayPtr<PointF>&Array of vertices that defines the polygon

See Also