NevronOpenVision
Nevron.Nov.Graphics Namespace / NColor Structure / InterpolateColors Method / InterpolateColors(NColor,NColor) Method
Color 1
Color 2
In This Topic
    InterpolateColors(NColor,NColor) Method
    In This Topic
    Creates a new color by interpolating between the specified colors.
    Syntax
    public static NColor InterpolateColors( 
       NColor color1,
       NColor color2
    )

    Parameters

    color1
    Color 1
    color2
    Color 2

    Return Value

    Returns a color that is "between" colors 1 and color 2.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also