Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NAdvancedGradientPoint Class / NAdvancedGradientPoint Constructor / NAdvancedGradientPoint Constructor(NColor,NAngle,Single,Single,Single,ENAdvancedGradientPointShape)
The color of the point.
The rotation angle (in degrees) of the point shape. The point is rotated around its center.
The horizontal position of the point within the gradient box. Specified as a floating-point value in the range [0, 1], whereas 0 means leftmost and 1 rightmost.
The vertical position of the point within the gradient box. Specified as a floating point value in the range [0, 1], whereas 0 means topmost and 1 bottommost.
The intensisity of the point as a floating-point value in the range [0, 1].
The shape of the point.


In This Topic
    NAdvancedGradientPoint Constructor(NColor,NAngle,Single,Single,Single,ENAdvancedGradientPointShape)
    In This Topic
    Creates a new advanced gradient point with the specified properties.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal color As NColor, _
       ByVal angle As NAngle, _
       ByVal positionX As System.Single, _
       ByVal positionY As System.Single, _
       ByVal intensity As System.Single, _
       ByVal shape As ENAdvancedGradientPointShape _
    )
    'Usage
     
    
    Dim color As NColor
    Dim angle As NAngle
    Dim positionX As System.Single
    Dim positionY As System.Single
    Dim intensity As System.Single
    Dim shape As ENAdvancedGradientPointShape
     
    Dim instance As New NAdvancedGradientPoint(color, angle, positionX, positionY, intensity, shape)
    public NAdvancedGradientPoint( 
       NColor color,
       NAngle angle,
       System.float positionX,
       System.float positionY,
       System.float intensity,
       ENAdvancedGradientPointShape shape
    )

    Parameters

    color
    The color of the point.
    angle
    The rotation angle (in degrees) of the point shape. The point is rotated around its center.
    positionX
    The horizontal position of the point within the gradient box. Specified as a floating-point value in the range [0, 1], whereas 0 means leftmost and 1 rightmost.
    positionY
    The vertical position of the point within the gradient box. Specified as a floating point value in the range [0, 1], whereas 0 means topmost and 1 bottommost.
    intensity
    The intensisity of the point as a floating-point value in the range [0, 1].
    shape
    The shape 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