Ellipse
Overview
Ellipse is a class in Aspose.Pdf FOSS for Java.
Inherits from: Shape.
Represents an ellipse drawing shape.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
left | float | Read | Gets the x-coordinate of the lower-left corner of the bounding box. |
bottom | float | Read | Gets the y-coordinate of the lower-left corner of the bounding box. |
width | float | Read | Gets the width of the bounding box. |
height | float | Read | Gets the height of the bounding box. |
graphInfo | GraphInfo | Read | Gets the graphic styling properties for this shape. |
text | String | Read | Gets the optional text label associated with this shape. |
Methods
| Signature | Description |
|---|---|
Ellipse(left: float, bottom: float, width: float, height: float) | Creates a new ellipse with the specified bounding box. |
getLeft() → float | Gets 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() → float | Gets 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() → float | Gets the width of the bounding box. |
setWidth(width: float) | Sets the width of the bounding box. |
getHeight() → float | Gets the height of the bounding box. |
setHeight(height: float) | Sets the height of the bounding box. |
checkBounds(containerWidth: double, containerHeight: double) | {@inheritDoc} |
| / | |
getGraphInfo() → GraphInfo | Gets the graphic styling properties for this shape. |
setGraphInfo(graphInfo: GraphInfo) | Sets the graphic styling properties for this shape. |
getText() → String | Gets the optional text label associated with this shape. |
setText(text: String) | Sets the optional text label associated with this shape. |