Share via


Overview | Methods | This Package | All Packages

OverviewMethodsThis PackageAll Packages

Graphics.setBackColor

Sets the background color for the Graphics object. After you set the background color for the Graphics object, that color is used to fill empty regions in the object's bounding rectangle.

Syntax

public final void setBackColor( Color color )

Parameters

color

A Color object that specifies the background color.

See Also   getBackColor