Class WriteableBitmapExtention
Represents an extension class that provides a method for validating saturation values.
Inheritance
System.Object
WriteableBitmapExtention
Namespace: Syncfusion.UI.Xaml.Controls
Assembly: Syncfusion.SfShared.UWP.dll
Syntax
public static class WriteableBitmapExtention : Object
Methods
GetPixels(IBuffer)
Retrieves information of the pixel buffer
Declaration
public static PixelBufferInfo GetPixels(this IBuffer pixelBuffer)
Parameters
Type | Name | Description |
---|---|---|
Windows.Storage.Streams.IBuffer | pixelBuffer | pixel buffer |
Returns
Type | Description |
---|---|
PixelBufferInfo | Returns information of the pixel buffer |
RenderSaturationValue(WriteableBitmap, Double)
Validate the saturation values
Declaration
public static void RenderSaturationValue(this WriteableBitmap target, double hue = 0)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Media.Imaging.WriteableBitmap | target | target value |
System.Double | hue | hue value |
RenderSaturationValueAsync(WriteableBitmap, Double)
Validate the saturation values
Declaration
public static Task RenderSaturationValueAsync(this WriteableBitmap target, double hue = 0)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Media.Imaging.WriteableBitmap | target | target value as writable bitmap |
System.Double | hue | hue value |
Returns
Type |
---|
System.Threading.Tasks.Task |