Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NGradientStop Class / NGradientStop Constructor / NGradientStop Constructor(Double,NColor)
The position of the point in the gradient. The value must be in the range [0, 1].
The color of the point.


In This Topic
    NGradientStop Constructor(Double,NColor)
    In This Topic
    Creates a new gradient stop with the specified position and color.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal position As System.Double, _
       ByVal color As NColor _
    )
    'Usage
     
    
    Dim position As System.Double
    Dim color As NColor
     
    Dim instance As New NGradientStop(position, color)
    public NGradientStop( 
       System.double position,
       NColor color
    )

    Parameters

    position
    The position of the point in the gradient. The value must be in the range [0, 1].
    color
    The color of the point.
    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