Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NLinearGradientFill Class / SetEndFactorX Method


In This Topic
    SetEndFactorX Method
    In This Topic
    Sets the EndFactorX, if keepCentered is true modifies the StartPoint so that the gradient passes through the gradient rect center
    Syntax
    'Declaration
     
    
    Public Sub SetEndFactorX( _
       ByVal endFactorX As System.Double, _
       ByVal keepCentered As System.Boolean _
    ) 
    'Usage
     
    
    Dim instance As NLinearGradientFill
    Dim endFactorX As System.Double
    Dim keepCentered As System.Boolean
     
    instance.SetEndFactorX(endFactorX, keepCentered)
    public void SetEndFactorX( 
       System.double endFactorX,
       System.bool keepCentered
    )

    Parameters

    endFactorX
    keepCentered
    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