RGB.this

Constructs an instance of this class with the given red, green and blue values.

@param red the red component of the new instance @param green the green component of the new instance @param blue the blue component of the new instance

@exception IllegalArgumentException <ul> <li>ERROR_INVALID_ARGUMENT - if the red, green or blue argument is not between 0 and 255</li> </ul>

  1. this(int red, int green, int blue)
    class RGB
    this
    (
    int red
    ,
    int green
    ,
    int blue
    )
  2. this(float hue, float saturation, float brightness)

Meta