HSBColor Constructor (Single, Single, Single)
Initializes a new instance of the HSBColor class with the specified hue, staturation, and brightness parameters.
Namespace: Microsoft.SqlServer.Management.Controls
Assembly: Microsoft.SqlServer.Management.Controls (in Microsoft.SqlServer.Management.Controls.dll)
Syntax
'Declaration
Public Sub New ( _
h As Single, _
s As Single, _
b As Single _
)
'Usage
Dim h As Single
Dim s As Single
Dim b As Single
Dim instance As New HSBColor(h, s, b)
public HSBColor(
float h,
float s,
float b
)
public:
HSBColor(
float h,
float s,
float b
)
new :
h:float32 *
s:float32 *
b:float32 -> HSBColor
public function HSBColor(
h : float,
s : float,
b : float
)
Parameters
- h
Type: System.Single
The specified hue for the color.
- s
Type: System.Single
The specified saturation for the color.
- b
Type: System.Single
The specified brightness for the color. The brightness ranges from 0.0 through 1.0, where 0.0 represents black, and 1.0 represents white.
See Also