public class EllipseShape extends RectangleShape
Represents an ellipse shape.
| Constructor and Description |
|---|
EllipseShape()
Initializes a new instance of the
EllipseShape class. |
EllipseShape(RectangleF rectangle)
Initializes a new instance of the
EllipseShape class. |
| Modifier and Type | Method and Description |
|---|---|
ShapeSegment[] |
getSegments()
Gets the shape segments.
|
getBounds, getBounds, getBounds, getCenter, getLeftBottom, getLeftTop, getRectangleHeight, getRectangleWidth, getRightBottom, getRightTop, hasSegments, transformpublic EllipseShape()
Initializes a new instance of the EllipseShape class.
public EllipseShape(RectangleF rectangle)
Initializes a new instance of the EllipseShape class.
rectangle - The rectangle.public ShapeSegment[] getSegments()
Gets the shape segments.
Value: The shape segments.getSegments in class RectangleShape