Class Hsv
- Namespace
- Dynamicweb.Imaging.Colors
- Assembly
- Dynamicweb.Core.dll
Representation of HSV color space
- Inheritance
-
Hsv
- Inherited Members
Properties
Color
Gets the color.
Property Value
- Color
The color.
Hue
Gets the newHue in degrees of the hsv color representation. 0-360
Property Value
- float
The newHue. 0-360
Saturation
Gets the newSaturation index of the hsv color representation. 0-100
Property Value
- double
The newSaturation. 0-1
Value
Gets the value index of the hsv color representation. 0-100
Property Value
- double
The value. 0-1
Methods
GetVariation(double, double)
Gets a variation over the current color with the specified newSaturation and value.
Parameters
Returns
GetVariationByHue(float)
Gets a variation over the current color with the specified newHue.
Parameters
newHue
floatThe newHue.
Returns
GetVariationBySaturation(double)
Gets a variation over the current color with the specified newSaturation.
Parameters
newSaturation
doubleThe newSaturation.
Returns
GetVariationByValue(double)
Gets a variation over the current color with the specified value.
Parameters
newValue
doubleThe new value component of the hsv color.