Nevron.GraphicsCore Namespace / NColorF Structure / GenerateGradients Method / GenerateGradients(Color,Color,Int32) Method


In This Topic
    GenerateGradients(Color,Color,Int32) Method
    In This Topic
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function GenerateGradients( _
       ByVal color1 As System.Drawing.Color, _
       ByVal color2 As System.Drawing.Color, _
       ByVal steps As System.Integer _
    ) As System.Drawing.Color()
    'Usage
     
    
    Dim color1 As System.Drawing.Color
    Dim color2 As System.Drawing.Color
    Dim steps As System.Integer
    Dim value() As System.Drawing.Color
     
    value = NColorF.GenerateGradients(color1, color2, steps)
    public static System.Drawing.Color[] GenerateGradients( 
       System.Drawing.Color color1,
       System.Drawing.Color color2,
       System.int steps
    )

    Parameters

    color1
    color2
    steps
    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