Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NColorValue3F 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 (NColorValue3F)
    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 NColorValue3F
    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 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