Graphics.drawOval
Class Overview | Class Members |
This Package |
All Packages
public abstract void drawOval( int x,
int y,
int width,
int height )
Parameters
- x
- the x coordinate of the upper left
corner of the oval to be drawn.
- y
- the y coordinate of the upper left
corner of the oval to be drawn.
- width
- the width of the oval to be drawn.
- height
- the height of the oval to be drawn.
Description
Draws the outline of an oval.
The result is a circle or ellipse that fits within the
rectangle specified by the x, y,
width, and height arguments.
The oval covers an area that is
width + 1 pixels wide
and height + 1 pixels tall.
See Also
fillOval