get2
Description:
public static Color get2 (
uint hcolor)
Gets a color in the color table based on hcolor
.
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:
hcolor |
the color in 0xRRGGBB format.
|
Returns:
the composite color value or NONE if there are no more free colors.
|