Overview | Methods | This Package | All Packages
OverviewMethodsThis PackageAll Packages
Graphics.getNearestColor
Retrieves the closest solid color that the hardware will use for the specified color.
Syntax
public final Color getNearestColor( Colorcolor**)**
Parameters
color
A Colorobject that specifies the color you want to use.
Return Value
Returns a Color object that describes the color that will be used.