Circle
Overview
Circle is a class in Aspose.PDF FOSS for .NET.
Inherits from: Shape.
A circle shape.
This class provides 3 methods for working with Circle objects in .NET programs.
Available methods include: CheckBounds, Circle.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: CenterX, CenterY, GraphInfo, PosX, PosY, Radius, and 1 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. |
Radius | double | Read/Write | Gets or sets the radius. |
PosX | double | Read/Write | Centre X (alias for CenterX). |
PosY | double | Read/Write | Centre Y (alias for CenterY). |
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 |
|---|---|
Circle(centerX: double, centerY: double, radius: double) | Calls Circle on this Circle instance. |
Circle(posX: float, posY: float, radius: float) | Single-precision overload. |
CheckBounds(containerWidth: double, containerHeight: double) | Whether this circle lies entirely within a containerWidth×containerHeight box anchored at the origin. |