HSV Constructor
Constructor in HSV
Declaration
public HSV(float hue, float saturation, float value)
Description
Creates new HSV 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]. |
value | The value component of the color in the range [0..1]. |
Overload
Declaration
public HSV(HSV other)
Description
Creates a new copy of the components.
Parameters
other | The other components to copy. |
Overload
Declaration
public HSV(Color color)
Description
Creates new HSV components from the given color.
Parameters
color | The color to extract the components from. |