Class ColorHSV
HSV color space.
Inheritance
System.Object
ColorHSV
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class ColorHSV
Constructors
ColorHSV(Color)
Declaration
public ColorHSV(Color pColor)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Color | pColor |
ColorHSV(Int32, Int32, Int32)
Declaration
public ColorHSV(int h, int s, int v)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | h | |
System.Int32 | s | |
System.Int32 | v |
Properties
H
Gets or sets hue component of a color space.
Declaration
public int H { get; set; }
Property Value
Type |
---|
System.Int32 |
S
Gets or sets saturation component of a color space.
Declaration
public int S { get; set; }
Property Value
Type |
---|
System.Int32 |
V
Gets or sets value component of a color space.
Declaration
public int V { get; set; }
Property Value
Type |
---|
System.Int32 |
Methods
Modify(Int32, Int32, Int32)
Method converts Color defined in RGB values to HSL color space.
Declaration
public void Modify(int hue, int sat, int val)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | hue | Hue value. |
System.Int32 | sat | Saturation value. |
System.Int32 | val |
ToRGB()
Method converts Color defined in HSV values to RGB color space.
Declaration
public Color ToRGB()
Returns
Type |
---|
System.Drawing.Color |