C# Класс WinRTXamlToolkit.Imaging.WriteableBitmapGrayscaleExtension

WriteableBitmap extensions to remove the color from the image.
Показать файл Открыть проект

Открытые методы

Метод Описание
Grayscale ( this target ) : WriteableBitmap

Removes all color from the specified bitmap.

Grayscale ( this target, double amount ) : WriteableBitmap

Removes color from the specified bitmap.

Описание методов

Grayscale() публичный статический Метод

Removes all color from the specified bitmap.
public static Grayscale ( this target ) : WriteableBitmap
target this The target bitmap.
Результат Windows.UI.Xaml.Media.Imaging.WriteableBitmap

Grayscale() публичный статический Метод

Removes color from the specified bitmap.
public static Grayscale ( this target, double amount ) : WriteableBitmap
target this The target bitmap.
amount double /// The 0..1 range amount of color to remove /// from the bitmap where /// 0 does not affect the bitmap and /// 1 makes the bitmap completely grayscale. ///
Результат Windows.UI.Xaml.Media.Imaging.WriteableBitmap