|
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.Float
Inner classes inherited from class java.awt.geom.Ellipse2D | |
Ellipse2D.Double , Ellipse2D.Float |
Field Summary | |
float | height
The overall height of the ellipse. |
float | width
The overall width of the ellipse. |
float | x
The x coordinate of the upper left corner of the ellipse. |
float | y
The y coordinate of the upper left corner of the ellipse. |
Constructor Summary | |
Ellipse2D.Float()
Constructs a new ellipse, initialized to location (0, 0) and size (0, 0). |
|
Ellipse2D.Float(float x,
float y,
float w,
float 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. |
void | setFrame(float x,
float y,
float w,
float h)
Sets the location and size of this ellipse to the specified float 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 float x
public float y
public float width
public float height
Constructor Detail |
public Ellipse2D.Float()
public Ellipse2D.Float(float x, float y, float w, float 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(float x, float y, float w, float h)
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 |