Scales brightness of the color using the given coefficient.

Namespace:  PerpetuumSoft.Framework.Utilities
Assembly:  PerpetuumSoft.Framework (in PerpetuumSoft.Framework.dll) Version: 3.9.0.1

Syntax

C#
public static Color ScaleColor(
	Color sourceColor,
	double scale
)
Visual Basic (Declaration)
Public Shared Function ScaleColor ( _
	sourceColor As Color, _
	scale As Double _
) As Color
Visual C++
public:
static Color ScaleColor(
	Color sourceColor, 
	double scale
)

Parameters

sourceColor
Type: System.Drawing..::.Color
scale
Type: System..::.Double

See Also