Graphics.drawBorder3D

Overview | Methods | This Package | All Packages

Graphics.drawBorder3D

Draws a three-dimensional style border around the specified rectangle.

Syntax

public final void drawBorder3D( Rectangle rect )

public final void drawBorder3D( Rectangle rect, int style )

public final void drawBorder3D( Rectangle rect, int style, int sides )

public final void drawBorder3D( int x, int y, int width, int height )

public final void drawBorder3D( int x, int y, int width, int height, int style )

public final void drawBorder3D( int x, int y, int width, int height, int style, int sides )

Parameters

rect

A Rectangle object that specifies the rectangle around which to draw the border.

style

The three-dimensional style to use when drawing the border. This value must be one of the enumeration constants defined in the Border3DStyle class.

sides

The sides of the rectangle you want to draw. This value must be one or more of the values defined in the Border3DSide enumeration.

x

The x-coordinate of the rectangle around which to draw the border.

y

The y-coordinate of the rectangle around which to draw the border.

width

The width of the rectangle around which to draw the border.

height

The height of the rectangle around which to draw the border.

Remarks

If you call this method without specifying a border style, the default three-dimensional style of Border3DStyle.ETCHED is used to draw the border.