RGBA.this

Constructs an instance of this class with the given hue, saturation, and brightness.

@param hue the hue value for the HSBA color (from 0 to 360) @param saturation the saturation value for the HSBA color (from 0 to 1) @param brightness the brightness value for the HSBA color (from 0 to 1) @param alpha the alpha value for the HSBA color (from 0 to 255)

@exception IllegalArgumentException <ul> <li>ERROR_INVALID_ARGUMENT - if the hue is not between 0 and 360 or the saturation or brightness is not between 0 and 1 or if the alpha is not between 0 and 255</li> </ul>

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

Meta