HSBtoColor(Double,Double,Double) Method

Kaliko Image Library

Kaliko.ImageLibrary
HSBtoColor(Double,Double,Double) Method





Hue value (must be between 0 and 360).
Saturation value (must be between 0 and 1).
Brightness value (must be between 0 and 1).
Converts HSB to a .net Color.
Syntax
'Declaration
 
Public Overloads Shared Function HSBtoColor( _
   ByVal h As System.Double, _
   ByVal s As System.Double, _
   ByVal b As System.Double _
) As System.Drawing.Color
'Usage
 
Dim h As System.Double
Dim s As System.Double
Dim b As System.Double
Dim value As System.Drawing.Color
 
value = ColorSpaceHelper.HSBtoColor(h, s, b)
public static System.Drawing.Color HSBtoColor( 
   System.double h,
   System.double s,
   System.double b
)
public function HSBtoColor( 
    h: System.Double;
    s: System.Double;
    b: System.Double
): System.Drawing.Color; static; 
public static function HSBtoColor( 
   h : System.double,
   s : System.double,
   b : System.double
) : System.Drawing.Color;
public: static System.Drawing.Color HSBtoColor( 
   System.double h,
   System.double s,
   System.double b
) 
public:
static System.Drawing.Color HSBtoColor( 
   System.double h,
   System.double s,
   System.double b
) 

Parameters

h
Hue value (must be between 0 and 360).
s
Saturation value (must be between 0 and 1).
b
Brightness value (must be between 0 and 1).
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

This documentation was created using Document! X from Innovasys