System.Drawing.Graphics.FillPath Method

Fills the interior of a System.Drawing.Drawing2D.GraphicsPath.

Syntax

public void FillPath (Brush brush, System.Drawing.Drawing2D.GraphicsPath path)

Parameters

brush
System.Drawing.Brush that determines the characteristics of the fill.
path
System.Drawing.Drawing2D.GraphicsPath that represents the path to fill.

Remarks

A System.Drawing.Drawing2D.GraphicsPath consists of a series of line and curve segments. If the path represented by the path parameter is not closed, an additional segment is added from the last point to the first point to close the path.

Requirements

Namespace: System.Drawing
Assembly: System.Drawing (in System.Drawing.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0