Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NLinearGradientFill Class / SetAngle Method / SetAngle(NAngle) Method


In This Topic
    SetAngle(NAngle) Method
    In This Topic
    Sets the linear gradient angle to the specified value. Center the gradient to pass through the center of the gradient rect. Adjusts the coverage points so that the gradient fill the entire gradient rect completely.
    Syntax
    'Declaration
     
    
    Public Overloads Sub SetAngle( _
       ByVal angle As NAngle _
    ) 
    'Usage
     
    
    Dim instance As NLinearGradientFill
    Dim angle As NAngle
     
    instance.SetAngle(angle)
    public void SetAngle( 
       NAngle angle
    )

    Parameters

    angle
    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