|
|||||||||||
| 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.AbstractFillRect
org.jdrawing.graphics.Fill3DRect
Graphics element which corresponds to Graphics.fill3DRect(int, int, int, int, boolean)
| Constructor Summary | |
Fill3DRect(int x,
int y,
int width,
int height,
boolean raised)
Returns Fill3DRect with given rectangle. |
|
Fill3DRect(int x,
int y,
int width,
int height,
boolean raised,
Style style)
Returns Fill3DRect with given rectangle. |
|
| Method Summary | |
boolean |
isRaised()
Returns if the rectangle appears to be raised above the surface or sunk into the surface |
void |
paintOperation(java.awt.Graphics2D graphics)
Performs drawing operation. |
void |
setRaised(boolean raised)
Sets if the rectangle appears to be raised above the surface or sunk into the surface |
| Methods inherited from class org.jdrawing.graphics.AbstractFillRect |
getShapeOfOperation |
| 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, getBounds, getBounds2D, 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 Fill3DRect(int x,
int y,
int width,
int height,
boolean raised)
x - left edge of the rectangley - top edge of the rectanglewidth - width of the rectangleheight - height of the rectangleraised - a boolean that determines whether the rectangle appears
to be raised above the surface or sunk into the surface
public Fill3DRect(int x,
int y,
int width,
int height,
boolean raised,
Style style)
x - left edge of the rectangley - top edge of the rectanglewidth - width of the rectangleheight - height of the rectangleraised - a boolean that determines whether the rectangle appears
to be raised above the surface or sunk into the surface| Method Detail |
public void setRaised(boolean raised)
raised - a boolean that determines whether the rectangle appears
to be raised above the surface or sunk into the surfacepublic boolean isRaised()
public void paintOperation(java.awt.Graphics2D graphics)
graphics.fill3DRect ().
paintOperation in class GraphicsOperationgraphics - graphics context to use for painting
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||