Graphics.setBrush

Overview | Methods | This Package | All Packages

Graphics.setBrush

Associates a brush with this Graphics object.

Syntax

public final void setBrush( Brush brush )

Parameters

brush

A Brush object that describes the brush to use with this Graphics object.

Remarks

After you associate a brush with the Graphics object, all filled areas in the object's clipping rectangle are filled using that brush. You can modify this association as often as you want.

See Also   getBrush