Allocates the operating system resources associated
with the receiver.
@param device the device on which to allocate the color
@param red the amount of red in the color
@param green the amount of green in the color
@param blue the amount of blue in the color
@param alpha the amount of alpha in the color
@exception IllegalArgumentException <ul>
<li>ERROR_INVALID_ARGUMENT - if the red, green, blue or alpha argument is not between 0 and 255</li>
</ul>
Allocates the operating system resources associated with the receiver.
@param device the device on which to allocate the color @param red the amount of red in the color @param green the amount of green in the color @param blue the amount of blue in the color @param alpha the amount of alpha in the color
@exception IllegalArgumentException <ul> <li>ERROR_INVALID_ARGUMENT - if the red, green, blue or alpha argument is not between 0 and 255</li> </ul>
@see #dispose