BCGControlBar Library for .NET
SetAlphaPixel Method




The bitmap to set alpha pixel.
The x-coordinate of the pixel to set alpha blending.
The y-coordinate of the pixel to set alpha blending.
The percent of the base color to set.
The color to mix with the color of the pixel.
Sets the alpha blending to the specified point of the bitmap.
Syntax
'Declaration
 
Public Shared Sub SetAlphaPixel( _
   ByVal bitmap As Bitmap, _
   ByVal x As Integer, _
   ByVal y As Integer, _
   ByVal percent As Integer, _
   ByVal iShadowSize As Integer, _
   ByVal colorBase As Color _
) 
'Usage
 
Dim bitmap As Bitmap
Dim x As Integer
Dim y As Integer
Dim percent As Integer
Dim iShadowSize As Integer
Dim colorBase As Color
 
DrawManager.SetAlphaPixel(bitmap, x, y, percent, iShadowSize, colorBase)
public static void SetAlphaPixel( 
   Bitmap bitmap,
   int x,
   int y,
   int percent,
   int iShadowSize,
   Color colorBase
)
public: static void SetAlphaPixel( 
   Bitmap* bitmap,
   int x,
   int y,
   int percent,
   int iShadowSize,
   Color colorBase
) 
public:
static void SetAlphaPixel( 
   Bitmap^ bitmap,
   int x,
   int y,
   int percent,
   int iShadowSize,
   Color colorBase
) 

Parameters

bitmap
The bitmap to set alpha pixel.
x
The x-coordinate of the pixel to set alpha blending.
y
The y-coordinate of the pixel to set alpha blending.
percent
The percent of the base color to set.
iShadowSize
colorBase
The color to mix with the color of the pixel.
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

Send Feedback