Graphics.FillRectangles
FillRectangles(Brush, Rectangle[])
填充由 Rectangle 结构指定的一系列矩形的内部。
public void FillRectangles(Brush brush, Rectangle[] rects)
| 参数 | 类型 | 描述 |
|---|
| brush | Brush | Brush,决定填充的特性。 |
| rects | Rectangle[] | 表示要填充的矩形的 Rectangle 结构数组。 |
异常
| 异常 | 条件 |
|---|
| ArgumentNullException | brush 为 null 或 rects 为 null。 |
另请参见
FillRectangles(Brush, RectangleF[])
填充由 RectangleF 结构指定的一系列矩形的内部。
public void FillRectangles(Brush brush, RectangleF[] rects)
| 参数 | 类型 | 描述 |
|---|
| brush | Brush | Brush,决定填充的特性。 |
| rects | RectangleF[] | 表示要填充的矩形的 Rectangle 结构数组。 |
异常
| 异常 | 条件 |
|---|
| ArgumentNullException | brush 为 null 或 rects 为 null。 |
另请参见