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.
Ellipse2D.Float- An ellipse specified in float precision.
Ellipse2D()
-
contains(double, double)
- Test if a given Point is inside the boundary of the shape.
contains(double, double, double, double)
- Test if the interior of the Shape entirely contains the given
Rectangle.
getPathIterator(AffineTransform)
- Return an iteration object that defines the boundary of the
shape.
intersects(double, double, double, double)
- Test if the interior of the Shape intersects the interior of a given
Rectangle.
Ellipse2D
protected Ellipse2D()
contains
public boolean contains(double x,
double y)
- Test if a given Point is inside the boundary of the shape.
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.
contains
public boolean contains(double x,
double y,
double w,
double h)
- Test if the interior of the Shape entirely contains the given
Rectangle.
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