HSB Constructor
Constructor in HSB
Declaration
public HSB(float hue, float saturation, float brightness)
Description
Creates new HSB components from the given values.
Parameters
hue | The hue component of the color in the range [0..1]. |
saturation | The saturation component of the color in the range [0..1]. |
brightness | The brightness component of the color in the range [0..1]. |
Overload
Declaration
public HSB(HSB other)
Description
Creates a new copy of the components.
Parameters
other | The other components to copy. |
Overload
Declaration
public HSB(Color color)
Description
Creates new HSB components from the given color.
Parameters
color | The color to extract the components from. |