ChartToolsCreateGrayscaleAlphaMap Method |
LightningChart .NET Help
Create a grayscale bitmap of source bitmap's pixels' alpha level.
White output pixel means A = 255, Black means A = 0, and grayscales values between them.
Namespace:
Arction.Wpf.ChartingMVVM
Assembly:
Arction.Wpf.ChartingMVVM.LightningChart (in Arction.Wpf.ChartingMVVM.LightningChart.dll) Version: 10.3.1
Syntaxpublic static Bitmap CreateGrayscaleAlphaMap(
Bitmap bitmapIn
)
Public Shared Function CreateGrayscaleAlphaMap (
bitmapIn As Bitmap
) As Bitmap
public:
static Bitmap^ CreateGrayscaleAlphaMap(
Bitmap^ bitmapIn
)
Parameters
- bitmapIn
- Type: System.DrawingBitmap
Source bitmap whose alpha level is to be investigated pixel-by-pixel.
Return Value
Type:
BitmapBitmap having alpha RGB values as grayscale, and alpha 255 in each output pixel.
See Also