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

NameTypeAccessDescription
CenterXdoubleRead/WriteGets or sets the center x.
CenterYdoubleRead/WriteGets or sets the center y.
RadiusXdoubleRead/WriteGets or sets the radius x.
RadiusYdoubleRead/WriteGets or sets the radius y.
LeftdoubleRead/WriteLeft edge of the bounding box (CenterX − RadiusX).
BottomdoubleRead/WriteBottom edge of the bounding box (CenterY − RadiusY).
WidthdoubleRead/WriteWidth of the bounding box (2 × RadiusX).
HeightdoubleRead/WriteHeight of the bounding box (2 × RadiusY).
GraphInfoAspose.Pdf.GraphInfoRead/WriteGets or sets the graph info.
TextAspose.Pdf.Text.TextFragment?Read/WriteOptional text label rendered with the shape.

Methods

SignatureDescription
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