## Graphics::FillRectangle(const SharedPtr\<Brush\>\&, float, float, float, float) method


指定された矩形を、指定されたブラシで塗りつぶします。

```cpp
void System::Drawing::Graphics::FillRectangle(const SharedPtr<Brush> &brush, float x, float y, float width, float height)
```


| パラメーター | 型 | 説明 |
| --- | --- | --- |
| brush | const SharedPtr\<Brush\>\& | 塗りつぶしに使用する [Brush](../../brush/) オブジェクト |
| x | 単精度浮動小数点数 | 塗りつぶす矩形の左上隅の X 座標 |
| y | 単精度浮動小数点数 | 塗りつぶす矩形の左上隅の Y 座標 |
| width | 単精度浮動小数点数 | 塗りつぶす矩形の幅 |
| height | 単精度浮動小数点数 | 塗りつぶす矩形の高さ |

## 参照

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Brush](../../brush/)
* Class [Graphics](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.Page for C++](../../../)
## Graphics::FillRectangle(const SharedPtr\<Brush\>\&, int, int, int, int) method


指定された矩形を、指定されたブラシで塗りつぶします。

```cpp
void System::Drawing::Graphics::FillRectangle(const SharedPtr<Brush> &brush, int x, int y, int width, int height)
```


| パラメーター | 型 | 説明 |
| --- | --- | --- |
| brush | const SharedPtr\<Brush\>\& | 塗りつぶしに使用する [Brush](../../brush/) オブジェクト |
| x | int | 塗りつぶす矩形の左上隅の X 座標 |
| y | int | 塗りつぶす矩形の左上隅の Y 座標 |
| width | int | 塗りつぶす矩形の幅 |
| height | int | 塗りつぶす矩形の高さ |

## 参照

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Brush](../../brush/)
* Class [Graphics](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.Page for C++](../../../)
## Graphics::FillRectangle(const SharedPtr\<Brush\>\&, Rectangle) method


指定された矩形を、指定されたブラシで塗りつぶします。

```cpp
void System::Drawing::Graphics::FillRectangle(const SharedPtr<Brush> &brush, Rectangle rect)
```


| パラメーター | 型 | 説明 |
| --- | --- | --- |
| brush | const SharedPtr\<Brush\>\& | 塗りつぶしに使用する [Brush](../../brush/) オブジェクト |
| rect | Rectangle | 塗りつぶす矩形の位置とサイズを指定する [Rectangle](../../rectangle/) オブジェクト |

## 参照

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Brush](../../brush/)
* Class [Rectangle](../../rectangle/)
* Class [Graphics](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.Page for C++](../../../)
## Graphics::FillRectangle(const SharedPtr\<Brush\>\&, RectangleF) method


指定された矩形を、指定されたブラシで塗りつぶします。

```cpp
void System::Drawing::Graphics::FillRectangle(const SharedPtr<Brush> &brush, RectangleF rect)
```


| パラメーター | 型 | 説明 |
| --- | --- | --- |
| brush | const SharedPtr\<Brush\>\& | 塗りつぶしに使用する [Brush](../../brush/) オブジェクト |
| rect | RectangleF | 塗りつぶす矩形の位置とサイズを指定する [RectangleF](../../rectanglef/) オブジェクト |

## 参照

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Brush](../../brush/)
* Class [RectangleF](../../rectanglef/)
* Class [Graphics](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.Page for C++](../../../)
