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

# Arc

## Overview

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

An arc shape (portion of an ellipse).

This class provides 4 methods for working with Arc objects in .NET programs.
Available methods include: `Arc`, `CheckBounds`.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: `Alpha`, `Beta`, `CenterX`, `CenterY`, `GraphInfo`, `PosX`, and 7 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. |
| `StartAngle` | `double` | Read/Write | Start angle in degrees (0 = 3 o'clock, counter-clockwise). |
| `SweepAngle` | `double` | Read/Write | Sweep angle in degrees (positive = counter-clockwise). |
| `PosX` | `double` | Read/Write | Centre X (alias of CenterX). |
| `PosY` | `double` | Read/Write | Centre Y (alias of CenterY). |
| `Radius` | `double` | Read/Write | Radius (sets both RadiusX and RadiusY). |
| `Alpha` | `double` | Read/Write | Start angle in degrees (alias of StartAngle). |
| `Beta` | `double` | Read/Write | End angle in degrees; setting recomputes SweepAngle as value − Alpha. |
| `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 |
|-----------|-------------|
| `Arc(centerX: double, centerY: double, radiusX: double, radiusY: double, startAngle: double, sweepAngle: double)` | Calls Arc on this Arc instance. |
| `Arc(centerX: double, centerY: double, radius: double, alpha: double, beta: double)` | Constructor matching the public API: Arc(posX, posY, radius, alpha, beta) where alpha = start angle, beta = end angle. |
| `Arc(posX: float, posY: float, radius: float, alpha: float, beta: float)` | Single-precision overload. |
| `CheckBounds(containerWidth: double, containerHeight: double)` | Whether this arc 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/)