Color.getRed

Overview | Methods | Fields | This Package | All Packages

Color.getRed

Retrieves the red component of the color.

Syntax

public int getRed()

Return Value

Returns the red component of the color.

Remarks

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

See Also   getBlue, getGreen