FilterCommandContext
This object is passed as a parameter to the FilterCommand and FilterInteractiveCommand command.
Definition
Namespace:Telerik.Maui.Controls.ImageEditor
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class FilterCommandContext : BindableObject
Inheritance: objectFilterCommandContext
Constructors
public FilterCommandContext()
Fields
BlurProperty
BindableProperty
Identifies the Blur property.
public static readonly BindableProperty BlurProperty
BrightnessProperty
BindableProperty
Identifies the Brightness property.
public static readonly BindableProperty BrightnessProperty
ContrastProperty
BindableProperty
Identifies the Contrast property.
public static readonly BindableProperty ContrastProperty
HueProperty
BindableProperty
Identifies the Hue property.
public static readonly BindableProperty HueProperty
SaturationProperty
BindableProperty
Identifies the Saturation property.
public static readonly BindableProperty SaturationProperty
SharpenProperty
BindableProperty
Identifies the Sharpen property.
public static readonly BindableProperty SharpenProperty
Properties
Gets or sets the radius of the blur filter in pixels. The default value of 0 preserves the original sharpness of the image. Positive values increase the strength of the blur filter.
public double Blur { get; set; }
Gets or sets the strength of the brightness filter in percent. The default value of 0 preserves the original brightness of the image. Positive values increase the brightness, where 100% is the maximum. Negative values decrease the brightness, where -100% is the minimum.
public double Brightness { get; set; }
Gets or sets the strength of the contrast filter in percent. The default value of 0 preserves the original contrast of the image. Positive values increase the contrast, where 100% is the maximum. Negative values decrease the contrast, where -100% is the minimum.
public double Contrast { get; set; }
Gets or sets the strength of the hue filter in percent. The default value of 0 preserves the original hue of the image. Positive values shift the hue in positive direction, where 100% is the maximum. Negative values shift the hue in negative direction, where -100% is the minimum.
public double Hue { get; set; }
Gets or sets the strength of the saturation filter in percent. The default value of 0 preserves the original saturation of the image. Positive values increase the saturation, where 100% is the maximum. Negative values decrease the saturation, where -100% is the minimum.
public double Saturation { get; set; }