Graphics.FillRegion

Graphics.FillRegion method

填充 Region 的内部。

public void FillRegion(Brush brush, Region region)
参数类型描述
brushBrushBrush,决定填充的特性。
regionRegionRegion 表示要填充的区域。

异常

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

另请参见