BCGControlBar Library for .NET
PixelAlpha(Color,Color,Int32) Method




The color of the pixel to set the alpha value.
The color of the pixel  located behind the pixel to set alpha blending.
The alpha value to set.
Makes alpha blending for a current color.
Syntax
'Declaration
 
Public Overloads Shared Function PixelAlpha( _
   ByVal srcPixel As Color, _
   ByVal dstPixel As Color, _
   ByVal percent As Integer _
) As Color
'Usage
 
Dim srcPixel As Color
Dim dstPixel As Color
Dim percent As Integer
Dim value As Color
 
value = DrawManager.PixelAlpha(srcPixel, dstPixel, percent)
public static Color PixelAlpha( 
   Color srcPixel,
   Color dstPixel,
   int percent
)
public: static Color PixelAlpha( 
   Color srcPixel,
   Color dstPixel,
   int percent
) 
public:
static Color PixelAlpha( 
   Color srcPixel,
   Color dstPixel,
   int percent
) 

Parameters

srcPixel
The color of the pixel to set the alpha value.
dstPixel
The color of the pixel  located behind the pixel to set alpha blending.
percent
The alpha value to set.
Requirements

Target Platforms: 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

Reference

DrawManager Class
DrawManager Members
Overload List

Send Feedback