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


Adds the specified ellipse to the path represented by the current object.

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


| Parameter | Type | Description |
| --- | --- | --- |
| rect | const Rectangle\& | Specifies a rectangle that bounds the ellipse to add |

## See Also

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


Adds the specified ellipse to the path represented by the current object.

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


| Parameter | Type | Description |
| --- | --- | --- |
| rect | const RectangleF\& | Specifies a rectangle that bounds the ellipse to add |

## See Also

* Class [RectangleF](../../../system.drawing/rectanglef/)
* Class [GraphicsPath](../)
* Namespace [System::Drawing::Drawing2D](../../)
* Library [Aspose.TeX for C++](../../../)
## GraphicsPath::AddEllipse(float, float, float, float) method


Adds the specified ellipse to the path represented by the current object.

```cpp
void System::Drawing::Drawing2D::GraphicsPath::AddEllipse(float x, float y, float width, float height)
```


| Parameter | Type | Description |
| --- | --- | --- |
| x | float | The X coordinate of the upper left corner of the rectangle that bounds the ellipse to add |
| y | float | The Y coordinate of the upper left corner of the rectangle that bounds the ellipse to add |
| width | float | The width of the upper left corner of the rectangle that bounds the ellipse to add |
| height | float | The height of the upper left corner of the rectangle that bounds the ellipse to add |

## See Also

* Class [GraphicsPath](../)
* Namespace [System::Drawing::Drawing2D](../../)
* Library [Aspose.TeX for C++](../../../)
## GraphicsPath::AddEllipse(int, int, int, int) method


Adds the specified ellipse to the path represented by the current object.

```cpp
void System::Drawing::Drawing2D::GraphicsPath::AddEllipse(int x, int y, int width, int height)
```


| Parameter | Type | Description |
| --- | --- | --- |
| x | int | The X coordinate of the upper left corner of the rectangle that bounds the ellipse to add |
| y | int | The Y coordinate of the upper left corner of the rectangle that bounds the ellipse to add |
| width | int | The width of the upper left corner of the rectangle that bounds the ellipse to add |
| height | int | The height of the upper left corner of the rectangle that bounds the ellipse to add |

## See Also

* Class [GraphicsPath](../)
* Namespace [System::Drawing::Drawing2D](../../)
* Library [Aspose.TeX for C++](../../../)
