Share via


HSBColor Constructor (Int32, Single, Single, Single)

Initializes a new instance of the HSBColor class with the specified alpha, hue, saturation, and brightness parameters.

Namespace:  Microsoft.SqlServer.Management.Controls
Assembly:  Microsoft.SqlServer.Management.Controls (in Microsoft.SqlServer.Management.Controls.dll)

Syntax

'Declaration
Public Sub New ( _
    a As Integer, _
    h As Single, _
    s As Single, _
    b As Single _
)
'Usage
Dim a As Integer
Dim h As Single
Dim s As Single
Dim b As Single

Dim instance As New HSBColor(a, h, s, b)
public HSBColor(
    int a,
    float h,
    float s,
    float b
)
public:
HSBColor(
    int a, 
    float h, 
    float s, 
    float b
)
new : 
        a:int * 
        h:float32 * 
        s:float32 * 
        b:float32 -> HSBColor
public function HSBColor(
    a : int, 
    h : float, 
    s : float, 
    b : float
)

Parameters

  • 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.