Skip to main content
A newer version of this page is available. .

GraphicsCache.DrawPolygon(Point[], Color, Int32) Method

Draws a polygon defined by an array of Point structures.

Namespace: DevExpress.Utils.Drawing

Assembly: DevExpress.Utils.v18.2.dll

Declaration

public void DrawPolygon(
    Point[] points,
    Color color,
    int thickness
)

Parameters

Name Type Description
points Point[]

Array of Point structures that represent the vertices of the polygon.

color Color

A Color structure that indicates the color of the Pen used to draw the polygon.

thickness Int32

A value indicating the width of the Pen used to draw the polygon.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DrawPolygon(Point[], Color, Int32) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also