Graphics.FillPath

Graphics.FillPath method

填充 GraphicsPath 的内部。

public void FillPath(Brush brush, GraphicsPath path)
参数类型描述
brushBrushBrush,决定填充的特性。
pathGraphicsPathGraphicsPath 表示要填充的路径。

异常

异常条件
ArgumentNullExceptionbrush 为 null。或 path 为 null。

另请参见