Microsoft SDK for Java

Graphics.setTextColor

Specifies the color that will be used to draw text.

Syntax

public final void setTextColor( Color color )

Parameters

color

A Color object that describes the color to use when drawing text.

See Also   getTextColor

© 1999 Microsoft Corporation. All rights reserved. Terms of use.