Version

ColorInfo Constructor(Color,Double)

Creates a new ColorInfo with the specified Color and tint.
Syntax
'Declaration
 
Public Function New( _
   ByVal color As Color, _
   ByVal tint As Double _
)
public ColorInfo( 
   Color color,
   double tint
)

Parameters

color
The base color which should be displayed when the ColorInfo is used.
tint
The tint to apply to the base color, from -1.0 (100% darken) to 1.0 (100% lighten).
Exceptions
ExceptionDescription
System.ArgumentExceptioncolor is the empty Color or has a non-opaque alpha channel.
System.ArgumentOutOfRangeExceptiontint is outside the range of -1.0 to 1.0, inclusive.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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