ColorHelperColorToHSV Method
Convert a color to HSV values.
Namespace: PCB_Investigator.PCBIStyleLibraryAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
public static void ColorToHSV(
Color color,
out double hue,
out double saturation,
out double value
)
Public Shared Sub ColorToHSV (
color As Color,
<OutAttribute> ByRef hue As Double,
<OutAttribute> ByRef saturation As Double,
<OutAttribute> ByRef value As Double
)
public:
static void ColorToHSV(
Color color,
[OutAttribute] double% hue,
[OutAttribute] double% saturation,
[OutAttribute] double% value
)
static member ColorToHSV :
color : Color *
hue : float byref *
saturation : float byref *
value : float byref -> unit
Parameters
- color Color
- The color to convert.
- hue Double
- The hue of the color.
- saturation Double
- The saturation of the color.
- value Double
- The value of the color.