System::Drawing::Graphics::DrawPolygon method

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)
ParameterTypeDescription
penconst SharedPtr<Pen>&A pen to use when drawing the polygon
pointsconst ArrayPtr<Point>&Array of vertices that defines the polygon

See Also

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)
ParameterTypeDescription
penconst SharedPtr<Pen>&A pen to use when drawing the polygon
pointsconst ArrayPtr<PointF>&Array of vertices that defines the polygon

See Also