Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NColor Structure / FromHSLA Method


In This Topic
    FromHSLA Method
    In This Topic
    Creates a new HSL color.
    Syntax
    'Declaration
     
    
    Public Shared Function FromHSLA( _
       ByVal h As System.Single, _
       ByVal s As System.Single, _
       ByVal l As System.Single, _
       ByVal a As System.Single _
    ) As NColor
    'Usage
     
    
    Dim h As System.Single
    Dim s As System.Single
    Dim l As System.Single
    Dim a As System.Single
    Dim value As NColor
     
    value = NColor.FromHSLA(h, s, l, a)
    public static NColor FromHSLA( 
       System.float h,
       System.float s,
       System.float l,
       System.float a
    )

    Parameters

    h
    s
    l
    a
    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