|
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 | +--java.awt.geom.Ellipse2D.Double
Inner classes inherited from class java.awt.geom.Ellipse2D | |
Ellipse2D.Double , Ellipse2D.Float |
Field Summary | |
double | height
The overall height of the ellipse. |
double | width
The overall width of the ellipse. |
double | x
The x coordinate of the upper left corner of the ellipse. |
double | y
The y coordinate of the upper left corner of the ellipse. |
Constructor Summary | |
Ellipse2D.Double()
Constructs a new ellipse, initialized to location (0, 0) and size (0, 0). |
|
Ellipse2D.Double(double x,
double y,
double w,
double h)
Constructs and initializes an ellipse from the specified coordinates. |
Method Summary | |
Rectangle2D | getBounds2D()
Return the high precision bounding box of the shape. |
double | getHeight()
Returns the overall height of the ellipse in double precision. |
double | getWidth()
Returns the overall width of the ellipse in double precision. |
double | getX()
Returns the X coordinate of the upper left corner of the ellipse in double precision. |
double | getY()
Returns the Y coordinate of the upper left corner of the ellipse in double precision. |
boolean | isEmpty()
Determines whether the rectangular shape is empty. |
void | setFrame(double x,
double y,
double w,
double h)
Sets the location and size of this ellipse to the specified double values. |
Methods inherited from class java.awt.geom.Ellipse2D | |
contains , contains , getPathIterator , intersects |
Methods inherited from class java.awt.geom.RectangularShape | |
clone , contains , contains , getBounds , getCenterX , getCenterY , getFrame , getMaxX , getMaxY , getMinX , getMinY , getPathIterator , intersects , setFrame , setFrame , setFrameFromCenter , setFrameFromCenter , setFrameFromDiagonal , setFrameFromDiagonal |
Methods inherited from class java.lang.Object | |
equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
Field Detail |
public double x
public double y
public double width
public double height
Constructor Detail |
public Ellipse2D.Double()
public Ellipse2D.Double(double x, double y, double w, double h)
x
- the x coordinate
y
- the y coordinate
width
- the width of the rectangle
height
- the height of the rectangleMethod Detail |
public double getX()
public double getY()
public double getWidth()
public double getHeight()
public boolean isEmpty()
public void setFrame(double x, double y, double w, double h)
public Rectangle2D getBounds2D()
|
Java Platform 1.2 Beta 4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |