Share via


HSBColor.ShiftBrighness Method

Represents the changed brightness value of the HSBColor.

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

Syntax

'Declaration
Public Shared Function ShiftBrighness ( _
    c As Color, _
    brightnessDelta As Single _
) As Color
'Usage
Dim c As Color
Dim brightnessDelta As Single
Dim returnValue As Color

returnValue = HSBColor.ShiftBrighness(c, _
    brightnessDelta)
public static Color ShiftBrighness(
    Color c,
    float brightnessDelta
)
public:
static Color ShiftBrighness(
    Color c, 
    float brightnessDelta
)
static member ShiftBrighness : 
        c:Color * 
        brightnessDelta:float32 -> Color 
public static function ShiftBrighness(
    c : Color, 
    brightnessDelta : float
) : Color

Parameters

  • brightnessDelta
    Type: System.Single
    A brightness value for the HSBColor.

Return Value

Type: System.Drawing.Color
The value that assigns to the hsbColor.