Class WriteableBitmapExtention
Represents an extension class that provides a method for validating saturation values.
Inheritance
System.Object
WriteableBitmapExtention
Namespace: Syncfusion.Windows.Controls
Assembly: Syncfusion.SfShared.Wpf.dll
Syntax
public static class WriteableBitmapExtention : Object
Methods
GetPixels(Int32[])
Retrieves information of the pixel buffer
Declaration
public static PixelBufferInfo GetPixels(this int[] pixelBuffer)
Parameters
Type | Name | Description |
---|---|---|
System.Int32[] | 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 |
---|---|---|
System.Windows.Media.Imaging.WriteableBitmap | target | target value |
System.Double | hue | hue value |