C# Class WinRTXamlToolkit.Imaging.WriteableBitmapDarkenExtension

WriteableBitmap extensions to make the image darker.
Datei anzeigen Open project: xyzzer/WinRTXamlToolkit

Public Methods

Method Description
Darken ( this target, double amount ) : WriteableBitmap

Darkens the specified bitmap.

Method Details

Darken() public static method

Darkens the specified bitmap.
public static Darken ( this target, double amount ) : WriteableBitmap
target this The target bitmap.
amount double The 0..1 range amount to darken by where 0 does not affect the bitmap and 1 makes the bitmap completely black.
return Windows.UI.Xaml.Media.Imaging.WriteableBitmap