Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NStockGradientFill Class / NStockGradientFill Constructor / NStockGradientFill Constructor(NColor,NColor)
Gradient begin color.
Gradient end color.


In This Topic
    NStockGradientFill Constructor(NColor,NColor)
    In This Topic
    Creates a horizontal gradient with variant 1 and the specified colors.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal beginColor As NColor, _
       ByVal endColor As NColor _
    )
    'Usage
     
    
    Dim beginColor As NColor
    Dim endColor As NColor
     
    Dim instance As New NStockGradientFill(beginColor, endColor)
    public NStockGradientFill( 
       NColor beginColor,
       NColor endColor
    )

    Parameters

    beginColor
    Gradient begin color.
    endColor
    Gradient end color.
    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