Graphics.draw3DRect

Graphics.draw3DRect

Class Overview | Class Members | This Package | All Packages

Syntax
public void draw3DRect( int x, int y, int width, int height, boolean raised )
Parameters
x
the x coordinate of the rectangle to be drawn.
y
the y coordinate of the rectangle to be drawn.
width
the width of the rectangle to be drawn.
height
the height of the rectangle to be drawn.
raised
a boolean that determines whether the rectangle appears to be raised above the surface or sunk into the surface.
Description
Draws a 3-D highlighted outline of the specified rectangle. The edges of the rectangle are highlighted so that they appear to be beveled and lit from the upper left corner.

The colors used for the highlighting effect are determined based on the current color. The resulting rectangle covers an area that is width + 1 pixels wide by height + 1 pixels tall.

See Also
fill3DRect