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


Agrega el rectángulo especificado a la ruta representada por el objeto actual.

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


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| rect | const Rectangle\& | Un rectángulo a añadir |

## Ver también

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


Agrega el rectángulo especificado a la ruta representada por el objeto actual.

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


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| rect | const RectangleF\& | Un rectángulo a añadir |

## Ver también

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