Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NColor Structure / FromRGBA Method / FromRGBA(Byte,Byte,Byte,Byte) Method


In This Topic
    FromRGBA(Byte,Byte,Byte,Byte) Method
    In This Topic
    Creates a new RGB color with the specified alpha.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function FromRGBA( _
       ByVal r As System.Byte, _
       ByVal g As System.Byte, _
       ByVal b As System.Byte, _
       ByVal a As System.Byte _
    ) As NColor
    'Usage
     
    
    Dim r As System.Byte
    Dim g As System.Byte
    Dim b As System.Byte
    Dim a As System.Byte
    Dim value As NColor
     
    value = NColor.FromRGBA(r, g, b, a)
    public static NColor FromRGBA( 
       System.byte r,
       System.byte g,
       System.byte b,
       System.byte a
    )

    Parameters

    r
    g
    b
    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