'Declaration
Public Function TryGetUniformAlphaFromPixels( _ ByRef alpha As System.Single _ ) As System.Boolean
'Usage
Dim instance As NRaster Dim alpha As System.Single Dim value As System.Boolean value = instance.TryGetUniformAlphaFromPixels(alpha)
public System.bool TryGetUniformAlphaFromPixels( out System.float alpha )
Parameters
- alpha
- If all pixels have the same alpha value, this parameter stores the unfiorm alpha value as a floating point number in the range [0, 1]. If the alpha is not uniform this parameter is set to -1.0.
Return Value
Returns true if all pixels have the same alpha value, otherwise false.