Nevron .NET Vision
Nevron.GraphicsCore Namespace / NColorF Structure / NColorF Constructor / NColorF Constructor(Single,Single,Single,Single)


In This Topic
    NColorF Constructor(Single,Single,Single,Single)
    In This Topic
    Creates a new NColorF structure with the r, g, b and alpha components.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal red As System.Single, _
       ByVal green As System.Single, _
       ByVal blue As System.Single, _
       ByVal alpha As System.Single _
    )
    'Usage
     
    
    Dim red As System.Single
    Dim green As System.Single
    Dim blue As System.Single
    Dim alpha As System.Single
     
    Dim instance As New NColorF(red, green, blue, alpha)
    public NColorF( 
       System.float red,
       System.float green,
       System.float blue,
       System.float alpha
    )

    Parameters

    red
    green
    blue
    alpha
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also