Nevron.UI Namespace / NColorHelper Class / InterpolateColors Method


In This Topic
    InterpolateColors Method
    In This Topic
    Syntax
    'Declaration
     
    
    Public Shared Function InterpolateColors( _
       ByVal color1 As System.Drawing.Color, _
       ByVal color2 As System.Drawing.Color, _
       ByVal factor As System.Single _
    ) As System.Drawing.Color
    'Usage
     
    
    Dim color1 As System.Drawing.Color
    Dim color2 As System.Drawing.Color
    Dim factor As System.Single
    Dim value As System.Drawing.Color
     
    value = NColorHelper.InterpolateColors(color1, color2, factor)
    public static System.Drawing.Color InterpolateColors( 
       System.Drawing.Color color1,
       System.Drawing.Color color2,
       System.float factor
    )

    Parameters

    color1
    color2
    factor
    Requirements

    Target Platforms: Windows 7, 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