|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jdrawing.graphics.GraphicsOperation
org.jdrawing.graphics.RectangleOperation
org.jdrawing.graphics.FillOval
Graphics element which corresponds to Graphics.fillOval(int, int, int, int)
| Constructor Summary | |
FillOval(int x,
int y,
int width,
int height)
Returns DrawOval which fits into specified rectangle. |
|
FillOval(int x,
int y,
int width,
int height,
Style style)
Returns DrawOval which fits into specified rectangle. |
|
| Method Summary | |
java.awt.Rectangle |
getBounds()
Returns bounding box of the element. |
java.awt.geom.Rectangle2D |
getBounds2D()
Returns high precision bounding box of the element. |
java.awt.Shape |
getShapeOfOperation()
Returns shape of the area updated by this operation. |
void |
paintOperation(java.awt.Graphics2D graphics)
Performs drawing operation. |
| Methods inherited from class org.jdrawing.graphics.RectangleOperation |
getHeight, getWidth, getX, getY, setHeight, setRectangle, setWidth, setX, setY |
| Methods inherited from class org.jdrawing.graphics.GraphicsOperation |
contains, getPosition, getStyle, intersects, paint, setPosition, setStyle |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FillOval(int x,
int y,
int width,
int height)
x - left edge of the rectangley - top edge of the rectanglewidth - width of the rectangleheight - height of the rectangle
public FillOval(int x,
int y,
int width,
int height,
Style style)
x - left edge of the rectangley - top edge of the rectanglewidth - width of the rectangleheight - height of the rectangle| Method Detail |
public void paintOperation(java.awt.Graphics2D graphics)
graphics.fillOval ().
paintOperation in class GraphicsOperationgraphics - graphics context to use for paintingpublic java.awt.Rectangle getBounds()
getBounds in interface DrawingElementgetBounds in class GraphicsOperationpublic java.awt.geom.Rectangle2D getBounds2D()
getBounds2D in interface DrawingElementgetBounds2D in class GraphicsOperationpublic java.awt.Shape getShapeOfOperation()
getShapeOfOperation in class GraphicsOperation
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||