Microsoft SDK for Java

Graphics.getTextColor

Retrieves the color used to display text in the Graphics object's bounding rectangle.

Syntax

public final Color getTextColor()

Return Value

Returns a Color object that describes the text color for the Graphics object.

See Also   setBackColor

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