Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NColor Structure / NColor Constructor / NColor Constructor(NColor,Byte)
The base color.
The new alpha component.


In This Topic
    NColor Constructor(NColor,Byte)
    In This Topic
    Creates an RGB color based on the specified color and changes the transparency to the specified one.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal color As NColor, _
       ByVal a As System.Byte _
    )
    'Usage
     
    
    Dim color As NColor
    Dim a As System.Byte
     
    Dim instance As New NColor(color, a)
    public NColor( 
       NColor color,
       System.byte a
    )

    Parameters

    color
    The base color.
    a
    The new alpha component.
    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