Graphics.FillPath

Graphics.FillPath method

Fills the interior of a GraphicsPath.

public void FillPath(Brush brush, GraphicsPath path)
ParameterTypeDescription
brushBrushBrush that determines the characteristics of the fill.
pathGraphicsPathGraphicsPath that represents the path to fill.

Exceptions

exceptioncondition
ArgumentNullExceptionbrush is null. -or- path is null.

See Also