com.aspose.imaging.shapes
Class EllipseShape

java.lang.Object
  extended by com.aspose.imaging.ObjectWithBounds
      extended by com.aspose.imaging.Shape
          extended by com.aspose.imaging.shapes.RectangleProjectedShape
              extended by com.aspose.imaging.shapes.RectangleShape
                  extended by com.aspose.imaging.shapes.EllipseShape
Direct Known Subclasses:
PieShape

public class EllipseShape
extends RectangleShape

Represents an ellipse shape.


Constructor Summary
EllipseShape()
           Initializes a new instance of the EllipseShape class.
EllipseShape(RectangleF rectangle)
           Initializes a new instance of the EllipseShape class.
 
Method Summary
 ShapeSegment[] getSegments()
           Gets the shape segments.
 
Methods inherited from class com.aspose.imaging.shapes.RectangleProjectedShape
getBounds, getBounds, getBounds, getCenter, getLeftBottom, getLeftTop, getRectangleHeight, getRectangleWidth, getRightBottom, getRightTop, hasSegments, transform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EllipseShape

public EllipseShape()

Initializes a new instance of the EllipseShape class.


EllipseShape

public EllipseShape(RectangleF rectangle)

Initializes a new instance of the EllipseShape class.

Parameters:
rectangle - The rectangle.
Method Detail

getSegments

public ShapeSegment[] getSegments()

Gets the shape segments.

Value: The shape segments.

Overrides:
getSegments in class RectangleShape