Color.getGreen

Overview | Methods | Fields | This Package | All Packages

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