## GraphicsPath::AddRectangle(const Rectangle\&) method


指定された矩形を、現在のオブジェクトが表すパスに追加します。

```cpp
void System::Drawing::Drawing2D::GraphicsPath::AddRectangle(const Rectangle &rect)
```


| パラメーター | 型 | 説明 |
| --- | --- | --- |
| rect | const Rectangle\& | 追加する矩形 |

## 参照

* Class [Rectangle](../../../system.drawing/rectangle/)
* Class [GraphicsPath](../)
* Namespace [System::Drawing::Drawing2D](../../)
* Library [Aspose.Page for C++](../../../)
## GraphicsPath::AddRectangle(const RectangleF\&) method


指定された矩形を、現在のオブジェクトが表すパスに追加します。

```cpp
void System::Drawing::Drawing2D::GraphicsPath::AddRectangle(const RectangleF &rect)
```


| パラメーター | 型 | 説明 |
| --- | --- | --- |
| rect | const RectangleF\& | 追加する矩形 |

## 参照

* Class [RectangleF](../../../system.drawing/rectanglef/)
* Class [GraphicsPath](../)
* Namespace [System::Drawing::Drawing2D](../../)
* Library [Aspose.Page for C++](../../../)
