Ellipse

Overview

Ellipse is a class in Aspose.Pdf FOSS for Java. Inherits from: Shape.

Represents an ellipse drawing shape.

Properties

NameTypeAccessDescription
leftfloatReadGets the x-coordinate of the lower-left corner of the bounding box.
bottomfloatReadGets the y-coordinate of the lower-left corner of the bounding box.
widthfloatReadGets the width of the bounding box.
heightfloatReadGets the height of the bounding box.
graphInfoGraphInfoReadGets the graphic styling properties for this shape.
textStringReadGets the optional text label associated with this shape.

Methods

SignatureDescription
Ellipse(left: float, bottom: float, width: float, height: float)Creates a new ellipse with the specified bounding box.
getLeft()floatGets the x-coordinate of the lower-left corner of the bounding box.
setLeft(left: float)Sets the x-coordinate of the lower-left corner of the bounding box.
getBottom()floatGets the y-coordinate of the lower-left corner of the bounding box.
setBottom(bottom: float)Sets the y-coordinate of the lower-left corner of the bounding box.
getWidth()floatGets the width of the bounding box.
setWidth(width: float)Sets the width of the bounding box.
getHeight()floatGets the height of the bounding box.
setHeight(height: float)Sets the height of the bounding box.
checkBounds(containerWidth: double, containerHeight: double){@inheritDoc}
/
getGraphInfo()GraphInfoGets the graphic styling properties for this shape.
setGraphInfo(graphInfo: GraphInfo)Sets the graphic styling properties for this shape.
getText()StringGets the optional text label associated with this shape.
setText(text: String)Sets the optional text label associated with this shape.

See Also