|
Java Platform 1.2 Beta 4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.geom.RectangularShape | +--java.awt.geom.Ellipse2D
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.
Inner Class Summary | |
static | Ellipse2D.Double
An ellipse specified in double precision. |
static | Ellipse2D.Float
An ellipse specified in float precision. |
Constructor Summary | |
Ellipse2D()
This is an abstract class that cannot be instantiated directly. |
Method Summary | |
boolean | contains(double x,
double y,
double w,
double h)
Test if the interior of the Shape entirely contains the given Rectangle. |
boolean | contains(double x,
double y)
Test if a given Point is inside the boundary of the shape. |
PathIterator | getPathIterator(AffineTransform at)
Return an iteration object that defines the boundary of the shape. |
boolean | intersects(double x,
double y,
double w,
double h)
Test if the interior of the Shape intersects the interior of a given Rectangle. |
Methods inherited from class 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 inherited from class java.lang.Object | |
equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
Constructor Detail |
protected Ellipse2D()
Ellipse2D.Float
,
Ellipse2D.Double
Method Detail |
public boolean contains(double x, double y)
public boolean intersects(double x, double y, double w, double h)
public boolean contains(double x, double y, double w, double h)
public PathIterator getPathIterator(AffineTransform at)
|
Java Platform 1.2 Beta 4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |