All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Class java.awt.geom.Ellipse2D

java.lang.Object
    |
    +----java.awt.geom.RectangularShape
            |
            +----java.awt.geom.Ellipse2D

public abstract class Ellipse2D
extends RectangularShape
An ellipse defined by a bounding 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.


Class Index

 o Ellipse2D.Float
An ellipse specified in float precision.

Constructor Index

 o Ellipse2D()

Method Index

 o contains(double, double)
Test if a given Point is inside the boundary of the shape.
 o contains(double, double, double, double)
Test if the interior of the Shape entirely contains the given Rectangle.
 o getPathIterator(AffineTransform)
Return an iteration object that defines the boundary of the shape.
 o intersects(double, double, double, double)
Test if the interior of the Shape intersects the interior of a given Rectangle.

Constructors

 o Ellipse2D
protected Ellipse2D()

Methods

 o contains
public boolean contains(double x,
                        double y)
Test if a given Point is inside the boundary of the shape.

 o intersects
public boolean intersects(double x,
                          double y,
                          double w,
                          double h)
Test if the interior of the Shape intersects the interior of a given Rectangle.

 o contains
public boolean contains(double x,
                        double y,
                        double w,
                        double h)
Test if the interior of the Shape entirely contains the given Rectangle.

 o getPathIterator
public PathIterator getPathIterator(AffineTransform at)
Return an iteration object that defines the boundary of the shape.


All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Submit a bug or feature