public final class Ellipse extends Shape
Represents ellipse.
Constructor and Description |
---|
Ellipse()
For Internal usage only
|
Ellipse(double left,
double bottom,
double width,
double height)
Initializes a new instance of the
Ellipse class. |
Modifier and Type | Method and Description |
---|---|
boolean |
checkBounds(double containerWidth,
double containerHeight)
Checks if the item fits within the given container dimensions (inclusive).
|
double |
getBottom()
Gets float value that indicates the bottom position of the ellipse.
|
double |
getHeight()
Gets float value that indicates the height of the ellipse.
|
double |
getLeft()
Gets float value that indicates the left position of the ellipse.
|
double |
getWidth()
Gets float value that indicates the width of the ellipse.
|
void |
setBottom(double value)
Sets float value that indicates the bottom position of the ellipse.
|
void |
setHeight(double value)
Sets float value that indicates the height of the ellipse.
|
void |
setLeft(double value)
Sets float value that indicates the left position of the ellipse.
|
void |
setWidth(double value)
Gets float value that indicates the width of the ellipse.
|
getGraphInfo, getText, setGraphInfo, setText
public Ellipse()
For Internal usage only
public Ellipse(double left, double bottom, double width, double height)
Initializes a new instance of the Ellipse
class.
left
- The left position of the ellipse.bottom
- The bottom position of the ellipse.width
- The width of the ellipse.height
- The height of the ellipse.public double getLeft()
Gets float value that indicates the left position of the ellipse.
public void setLeft(double value)
Sets float value that indicates the left position of the ellipse.
value
- that indicates the left position of the ellipse.public double getBottom()
Gets float value that indicates the bottom position of the ellipse.
public void setBottom(double value)
Sets float value that indicates the bottom position of the ellipse.
value
- that indicates the bottom position of the ellipse.public double getWidth()
Gets float value that indicates the width of the ellipse.
public void setWidth(double value)
Gets float value that indicates the width of the ellipse.
value
- that indicates the width of the ellipse.public double getHeight()
Gets float value that indicates the height of the ellipse.
public void setHeight(double value)
Sets float value that indicates the height of the ellipse.
value
- that indicates the height of the ellipsepublic boolean checkBounds(double containerWidth, double containerHeight)
IBoundsCheckableItem
Checks if the item fits within the given container dimensions (inclusive).
checkBounds
in interface IBoundsCheckableItem
checkBounds
in class Shape
containerWidth
- Width of the container.containerHeight
- Height of the container.Copyright © 2025 Aspose. All Rights Reserved.