NevronOpenVision
Nevron.Nov.Graphics Namespace / NImageSource Class / TryGetUniformAlpha Method
Contains the uniform alpha value. Valid only if the method returns true.
TryGetUniformAlpha Method
Determines whether all of the image's pixels have the same alpha value and obtains this alpha value.
Syntax
public System.bool TryGetUniformAlpha( 
   out System.float alpha
)

Parameters

alpha
Contains the uniform alpha value. Valid only if the method returns true.

Return Value

Returns true if all pixels have the same alpha value, otherwise returns false.
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