C# 클래스 WinRTXamlToolkit.Imaging.WriteableBitmapGrayscaleExtension

WriteableBitmap extensions to remove the color from the image.
파일 보기 프로젝트 열기: xyzzer/WinRTXamlToolkit

공개 메소드들

메소드 설명
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