FillRectangle
FillRectangle(Brush, float, float, float, float)
填充由一对坐标、宽度和高度指定的矩形的内部。
public void FillRectangle(Brush brush, float x, float y, float width, float height)
| 范围 | 类型 | 描述 |
|---|---|---|
| brush | Brush | Brush这决定了填充的特性。 |
| x | Single | 要填充的矩形左上角的 x 坐标。 |
| y | Single | 要填充的矩形左上角的 y 坐标。 |
| width | Single | 要填充的矩形的宽度。 |
| height | Single | 要填充的矩形的高度。 |
也可以看看
- class Brush
- class Graphics
- 命名空间 System.Drawing
- 部件 Aspose.Drawing
FillRectangle(Brush, RectangleF)
填充由 RectangleF 结构指定的矩形的内部。
public void FillRectangle(Brush brush, RectangleF rect)
| 范围 | 类型 | 描述 |
|---|---|---|
| brush | Brush | 决定填充特性的画笔。 |
| rect | RectangleF | RectangleF 结构,表示要填充的矩形。 |
也可以看看
- class Brush
- struct RectangleF
- class Graphics
- 命名空间 System.Drawing
- 部件 Aspose.Drawing