Version

GetAlphaLevel Method

Returns the alpha level to use when rendering based upon the current alpha blend mode, alpha setting and alpha level.
Syntax
'Declaration
 
Public Shared Function GetAlphaLevel( _
   ByVal mode As AlphaBlendMode, _
   ByVal alpha As Alpha, _
   ByVal alphaLevel As Short _
) As Short
public static short GetAlphaLevel( 
   AlphaBlendMode mode,
   Alpha alpha,
   short alphaLevel
)

Parameters

mode
Current alpha blend mode
alpha
Alpha setting to evaluate
alphaLevel
Resolved alpha level

Return Value

The adjusted alpha level based on the AlphaBlendMode, Alpha setting and resolved alpha level.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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