@get


Description:

public static Color @get (uint8 r, uint8 g, uint8 b)

Gets a color based on the RGB value.

A new color is allocated in the color table if needed.

The color should be released with put when it is no longer used.

Parameters:

r

the red component value

g

the green component value

b

the blue component value

Returns:

the composite color value or NONE if there are no more free colors.