In This Topic
r,g,b values are from 0 to 1 h = [0,360], s = [0,1], v = [0,1] if s == 0, then h = -1(undefined)
Syntax
'Declaration
Public Shared Sub HSVtoRGB( _
ByRef As Single, _
ByRef As Single, _
ByRef As Single, _
ByVal As Single, _
ByVal As Single, _
ByVal As Single _
)
'Usage
Dim r As Single
Dim g As Single
Dim b As Single
Dim h As Single
Dim s As Single
Dim v As Single
ColorEx.HSVtoRGB(r, g, b, h, s, v)
public static void HSVtoRGB(
out float ,
out float ,
out float ,
float ,
float ,
float
)
public:
static void HSVtoRGB(
[Out] float ,
[Out] float ,
[Out] float ,
float ,
float ,
float
)
Parameters
- r
- g
- b
- h
- s
- v
See Also