Skip to main content
All docs
V23.2

DXGraphics.DrawPolygon(DXPen, PointF[]) Method

Draws a polygon defined by an array of points.

Namespace: DevExpress.Drawing

Assembly: DevExpress.Drawing.v23.2.dll

NuGet Package: DevExpress.Drawing

Declaration

public void DrawPolygon(
    DXPen pen,
    PointF[] points
)

Parameters

Name Type Description
pen DXPen

An object that determines the color, width, and style of the polygon.

points PointF[]

An array of points that are the polygon vertices.

See Also