Color.init_

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

  1. alias init_ = Resource.init_
  2. void init_(int red, int green, int blue, int alpha)
    class Color
    package
    void
    init_
    (
    int red
    ,
    int green
    ,
    int blue
    ,
    int alpha
    )

Meta