|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jdrawing.graphics.GraphicsElement org.jdrawing.graphics.GraphicsOperation org.jdrawing.graphics.RectangleOperation org.jdrawing.graphics.AbstractDrawRect org.jdrawing.graphics.DrawRect
Graphics element which corresponds to Graphics.drawRect(int, int, int, int)
Field Summary |
Fields inherited from class org.jdrawing.graphics.GraphicsElement |
BACKGROUND, COLOR, COMPOSITE, FONT, PAINT, parent, position, STROKE, TRANSFORM |
Constructor Summary | |
DrawRect(int x,
int y,
int width,
int height)
Returns DrawRect with given rectangle. |
Method Summary | |
void |
paintOperation(java.awt.Graphics2D graphics)
Performs grawing operation. |
Methods inherited from class org.jdrawing.graphics.AbstractDrawRect |
contains, getBounds, getBounds2D, intersects |
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 |
paint, update |
Methods inherited from class org.jdrawing.graphics.GraphicsElement |
addStyle, getParent, getStyle, getStyles, getTransform |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DrawRect(int x, int y, int width, int height)
x
- left edge of the rectangley
- top edge of the rectangewidth
- width of the rectangleheight
- height of the rectangeMethod Detail |
public void paintOperation(java.awt.Graphics2D graphics)
graphics.drawRect ()
.
paintOperation
in class GraphicsOperation
graphics
- graphics context to use for painting
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |