RGB.this

Constructs an instance of this class with the given hue, saturation, and brightness. * @param hue the hue value for the HSB color (from 0 to 360) @param saturation the saturation value for the HSB color (from 0 to 1) @param brightness the brightness value for the HSB color (from 0 to 1) * @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</li> </ul> * @since 3.2

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

Meta