## FillRectangle(Brush, float, float, float, float) {#fillrectangle}

座標、幅、高さのペアで指定された長方形の内部を塗りつぶします。

```csharp
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](../../brush/)
* class [Graphics](../)
* 名前空間 [System.Drawing](../../graphics/)
* 組み立て [Aspose.Drawing](../../../)

---

## FillRectangle(Brush, RectangleF) {#fillrectangle_1}

RectangleF 構造体で指定された四角形の内部を塗りつぶします。

```csharp
public void FillRectangle(Brush brush, RectangleF rect)
```

| パラメータ | タイプ | 説明 |
| --- | --- | --- |
| brush | Brush | 塗りつぶしの特性を決定するブラシ。 |
| rect | RectangleF | 塗りつぶす四角形を表す RectangleF 構造体。 |

### 関連項目

* class [Brush](../../brush/)
* struct [RectangleF](../../rectanglef/)
* class [Graphics](../)
* 名前空間 [System.Drawing](../../graphics/)
* 組み立て [Aspose.Drawing](../../../)


