---
Product: Aspose.PDF
Platform: net
Page Type: reference
Canonical URL: https://reference.aspose.org/pdf/net/Ellipse
---

# Ellipse

## Overview

`Ellipse` is a class in Aspose.PDF FOSS for .NET.
Inherits from: `Shape`.

An ellipse shape.

This class provides 2 methods for working with Ellipse objects in .NET programs.
Available methods include: `CheckBounds`, `Ellipse`.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: `Bottom`, `CenterX`, `CenterY`, `GraphInfo`, `Height`, `Left`, and 4 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `CenterX` | `double` | Read/Write | Gets or sets the center x. |
| `CenterY` | `double` | Read/Write | Gets or sets the center y. |
| `RadiusX` | `double` | Read/Write | Gets or sets the radius x. |
| `RadiusY` | `double` | Read/Write | Gets or sets the radius y. |
| `Left` | `double` | Read/Write | Left edge of the bounding box (CenterX − RadiusX). |
| `Bottom` | `double` | Read/Write | Bottom edge of the bounding box (CenterY − RadiusY). |
| `Width` | `double` | Read/Write | Width of the bounding box (2 × RadiusX). |
| `Height` | `double` | Read/Write | Height of the bounding box (2 × RadiusY). |
| `GraphInfo` | `Aspose.Pdf.GraphInfo` | Read/Write | Gets or sets the graph info. |
| `Text` | `Aspose.Pdf.Text.TextFragment?` | Read/Write | Optional text label rendered with the shape. |

## Methods

| Signature | Description |
|-----------|-------------|
| `Ellipse(left: double, bottom: double, width: double, height: double)` | Bounding-box ctor. |
| `CheckBounds(containerWidth: double, containerHeight: double)` | Whether this ellipse lies entirely within a containerWidth×containerHeight box anchored at the origin. |

## See Also

- [Aspose.PDF for .NET — Enterprise API Reference](https://reference.aspose.com/pdf/net/)