Microsoft SDK for Java

Color.getGreen

Retrieves the green component of the color.

Syntax

public int getGreen()

Return Value

Returns the green component of the color.

Remarks

This method works identically for Color objects based on system colors or on RGB triplets.

See Also   getBlue, getRed

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