Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NColor Structure / Darken Method / Darken(Single) Method
A darkening factor. Must be between 0 and 1. Greater values result in darker colors.


In This Topic
    Darken(Single) Method
    In This Topic
    Gets a darker version of this color.
    Syntax
    'Declaration
     
    
    Public Overloads Function Darken( _
       ByVal factor As System.Single _
    ) As NColor
    'Usage
     
    
    Dim instance As NColor
    Dim factor As System.Single
    Dim value As NColor
     
    value = instance.Darken(factor)
    public NColor Darken( 
       System.float factor
    )

    Parameters

    factor
    A darkening factor. Must be between 0 and 1. Greater values result in darker colors.
    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