getRed() method

Returns the red component of the color.

Syntax

public short getRed ()

Returns

The red component of the color, 0-255.