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

GraphicsCache.FillPolygon(Point[], Color) Method

Fills the interior of a polygon defined by an array of points specified by Point structures.

Namespace: DevExpress.Utils.Drawing

Assembly: DevExpress.Utils.v18.2.dll

Declaration

public void FillPolygon(
    Point[] points,
    Color color
)

Parameters

Name Type Description
points Point[]

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

color Color

A Color structure that specifies the color of the fill.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the FillPolygon(Point[], Color) 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