Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NColorValue4F Class / CloneWithNewAlpha Method
Alpha value for the new object. Specified as a floating point value in the range [0, 1].


In This Topic
    CloneWithNewAlpha Method (NColorValue4F)
    In This Topic
    Creates a duplicate instance with the same color and the specified alpha.
    Syntax
    'Declaration
     
    
    Public Overrides Function CloneWithNewAlpha( _
       ByVal alpha As System.Single _
    ) As NColorValueF
    'Usage
     
    
    Dim instance As NColorValue4F
    Dim alpha As System.Single
    Dim value As NColorValueF
     
    value = instance.CloneWithNewAlpha(alpha)
    public override NColorValueF CloneWithNewAlpha( 
       System.float alpha
    )

    Parameters

    alpha
    Alpha value for the new object. Specified as a floating point value in the range [0, 1].

    Return Value

    Returns the new color value object.
    Requirements

    Target Platforms: Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, 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), Windows Server 2003 SP2

    See Also