Class ImageEditorFinetuneSettings
Represents the settings for finetune an image in the SfImageEditor.
Inheritance
Namespace: Syncfusion.Blazor.ImageEditor
Assembly: Syncfusion.Blazor.dll
Syntax
public class ImageEditorFinetuneSettings : OwningComponentBase
Remarks
The finetune settings include brightness, contrast, hue, saturation, exposure, opacity, and blur. Use the Brightness, Contrast, Hue, Saturation, Exposure, Opacity, and Blur properties to specify the minimum, maximum, and default values for each finetune setting.
Constructors
ImageEditorFinetuneSettings()
Declaration
public ImageEditorFinetuneSettings()
Properties
Blur
Gets or sets the options to configure the blur settings in the SfImageEditor.
Declaration
public ImageFinetuneValue Blur { get; set; }
Property Value
Type | Description |
---|---|
ImageFinetuneValue | An ImageFinetuneValue object that specifies the minimum, maximum, and default value for blur. The default minimum value is 0, maximum value is 100, and the default value is 0. |
Remarks
Use the ImageFinetuneValue class to specify the options for the blur settings.
Brightness
Gets or sets the options to configure the brightness settings in the SfImageEditor.
Declaration
public ImageFinetuneValue Brightness { get; set; }
Property Value
Type | Description |
---|---|
ImageFinetuneValue | An ImageFinetuneValue object that specifies the minimum, maximum, and default values for brightness. The default minimum value is -100, the default maximum value is 100, and the default value is 0. |
Remarks
Use the ImageFinetuneValue class to specify the options for the brightness settings.
Examples
The below code example, explains about setting the brightness options using finetune settings in image editor.
<SfImageEditor>
<ImageFinetuneSettings Brightness="@brightness"/>
</ SfImageEditor>
@code {
private brightness = new ImageFinetuneValue {Min = 0. Max = 100, DefaultValue= 50}
}
Contrast
Gets or sets the options to configure the contrast settings in the SfImageEditor.
Declaration
public ImageFinetuneValue Contrast { get; set; }
Property Value
Type | Description |
---|---|
ImageFinetuneValue | An ImageFinetuneValue object that specifies the minimum, maximum, and default value for contrast. The default minimum value is -100, maximum value is 100, and the default value is 0. |
Remarks
Use the ImageFinetuneValue class to specify the options for the contrast settings.
Exposure
Gets or sets the options to configure the exposure settings in the SfImageEditor.
Declaration
public ImageFinetuneValue Exposure { get; set; }
Property Value
Type | Description |
---|---|
ImageFinetuneValue | An ImageFinetuneValue object that specifies the minimum, maximum, and default value for exposure. The default minimum value is 100, maximum value is -100, and the default value is 0. |
Remarks
Use the ImageFinetuneValue class to specify the options for the exposure settings.
Hue
Gets or sets the options to configure the hue settings in the SfImageEditor.
Declaration
public ImageFinetuneValue Hue { get; set; }
Property Value
Type | Description |
---|---|
ImageFinetuneValue | An ImageFinetuneValue object that specifies the minimum, maximum, and default value for hue. The default minimum value is 0, maximum value is 100, and the default value is 0. |
Remarks
Use the ImageFinetuneValue class to specify the options for the hue settings.
Opacity
Gets or sets the options to configure the opacity settings in the SfImageEditor.
Declaration
public ImageFinetuneValue Opacity { get; set; }
Property Value
Type | Description |
---|---|
ImageFinetuneValue | An ImageFinetuneValue object that specifies the minimum, maximum, and default value for opacity. The default minimum value is 0, maximum value is 100, and the default value is 100. |
Remarks
Use the ImageFinetuneValue class to specify the options for the opacity settings.
Saturation
Gets or sets the options to configure the saturation settings in the SfImageEditor.
Declaration
public ImageFinetuneValue Saturation { get; set; }
Property Value
Type | Description |
---|---|
ImageFinetuneValue | An ImageFinetuneValue object that specifies the minimum, maximum, and default value for saturation. The default minimum value is -100, maximum value is 100, and the default value is 0. |
Remarks
Use the ImageFinetuneValue class to specify the options for the saturation settings.