Struct Hsv
Defines a HSV (Hue Satuation Value) color
[ColorInfo(ConversionCodename = "Hsv")]
public struct Hsv : IColor, IEquatable<Hsv>
- Implements
- Inherited Members
Constructors
Hsv(double, double, double)
Create a HSV color using the specific values
public Hsv(double hue, double satuation, double value)
Parameters
hue
doubleThe hue value for this color ( 0 < hue < 180 )
satuation
doubleThe satuation value for this color
value
doubleThe value for this color
Properties
Dimension
Get the dimension of this color
public int Dimension { get; }
Property Value
Hue
Get or set the intensity of the hue color channel ( 0 < hue < 180 )
public double Hue { get; set; }
Property Value
MCvScalar
Get or Set the equivalent MCvScalar value
public MCvScalar MCvScalar { get; set; }
Property Value
Satuation
Get or set the intensity of the satuation color channel
public double Satuation { get; set; }
Property Value
Value
Get or set the intensity of the value color channel
public double Value { get; set; }
Property Value
Methods
Equals(Hsv)
Return true if the two color equals
public bool Equals(Hsv other)
Parameters
other
HsvThe other color to compare with
Returns
- bool
true if the two color equals
ToString()
Represent this color as a String
public override string ToString()
Returns
- string
The string representation of this color