'Declaration Public Shared Function FromKnownColor( _ ByVal knownColor As KnownColor, _ Optional ByVal tint As Double _ ) As Color
'Usage Dim knownColor As KnownColor Dim tint As Double Dim value As Color value = Color.FromKnownColor(knownColor, tint)
public static Color FromKnownColor( KnownColor knownColor, double tint )
Parameters
- knownColor
- An element of the GrapeCity.Core.KnownColor enumeration.
- tint
- The mixture of a color with white, which increases lightness, and a shade is the mixture of a color with black, which reduces lightness. Valid values are -1 through 1.
Return Value
The Color value that this method creates.