Save This Page
Home » openjdk-7 » java » awt » geom » [javadoc | source]
java.awt.geom
abstract public class: Ellipse2D [javadoc | source]
java.lang.Object
   java.awt.geom.RectangularShape
      java.awt.geom.Ellipse2D

All Implemented Interfaces:
    Shape, Cloneable

Direct Known Subclasses:
    Double, Float

The Ellipse2D class describes an ellipse that is defined by a framing rectangle.

This class is only the abstract superclass for all objects which store a 2D ellipse. The actual storage representation of the coordinates is left to the subclass.

Nested Class Summary:
public static class  Ellipse2D.Float  The Float class defines an ellipse specified in float precision. 
public static class  Ellipse2D.Double  The Double class defines an ellipse specified in double precision. 
Constructor:
 protected Ellipse2D() 
Method from java.awt.geom.Ellipse2D Summary:
contains,   contains,   equals,   getPathIterator,   hashCode,   intersects
Methods from java.awt.geom.RectangularShape:
clone,   contains,   contains,   getBounds,   getCenterX,   getCenterY,   getFrame,   getHeight,   getMaxX,   getMaxY,   getMinX,   getMinY,   getPathIterator,   getWidth,   getX,   getY,   intersects,   isEmpty,   setFrame,   setFrame,   setFrame,   setFrameFromCenter,   setFrameFromCenter,   setFrameFromDiagonal,   setFrameFromDiagonal
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.awt.geom.Ellipse2D Detail:
 public boolean contains(double x,
    double y) 
    {@inheritDoc}
 public boolean contains(double x,
    double y,
    double w,
    double h) 
    {@inheritDoc}
 public boolean equals(Object obj) 
    Determines whether or not the specified Object is equal to this Ellipse2D. The specified Object is equal to this Ellipse2D if it is an instance of Ellipse2D and if its location and size are the same as this Ellipse2D.
 public PathIterator getPathIterator(AffineTransform at) 
    Returns an iteration object that defines the boundary of this Ellipse2D. The iterator for this class is multi-threaded safe, which means that this Ellipse2D class guarantees that modifications to the geometry of this Ellipse2D object do not affect any iterations of that geometry that are already in process.
 public int hashCode() 
    Returns the hashcode for this Ellipse2D.
 public boolean intersects(double x,
    double y,
    double w,
    double h) 
    {@inheritDoc}