---
title: "Graphics.FillEllipse"
url: "https://reference.aspose.com/drawing/net/aspose.drawing/graphics/fillellipse/"
product: "Aspose.Drawing for .NET API Reference"
description: "Graphics method. Fills the interior of an ellipse defined by a bounding rectangle specified by a RectangleF structure"
---

## FillEllipse(Brush, RectangleF) {#fillellipse}

Fills the interior of an ellipse defined by a bounding rectangle specified by a RectangleF structure.

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

| Parameter | Type | Description |
| --- | --- | --- |
| brush | Brush | Brush that determines the characteristics of the fill. |
| rect | RectangleF | RectangleF structure that represents the bounding rectangle that defines the ellipse. |

### See Also

* class [Brush](../../brush/)
* struct [RectangleF](../../rectanglef/)
* class [Graphics](../)
* namespace [Aspose.Drawing](../../graphics/)
* assembly [Aspose.Drawing.Common](../../../)

---

## FillEllipse(Brush, float, float, float, float) {#fillellipse_1}

Fills the interior of an ellipse defined by a bounding rectangle specified by a pair of coordinates, a width, and a height.

```csharp
public void FillEllipse(Brush brush, float x, float y, float width, float height)
```

| Parameter | Type | Description |
| --- | --- | --- |
| brush | Brush | Brush that determines the characteristics of the fill. |
| x | Single | The x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse. |
| y | Single | The y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse. |
| width | Single | Width of the bounding rectangle that defines the ellipse. |
| height | Single | Height of the bounding rectangle that defines the ellipse. |

### See Also

* class [Brush](../../brush/)
* class [Graphics](../)
* namespace [Aspose.Drawing](../../graphics/)
* assembly [Aspose.Drawing.Common](../../../)


