Class BrightnessFilter
A filter to adjust image brightness.
Inheritance
System.Object
BrightnessFilter
Implements
Namespace: IronBarCode
Assembly: IronBarCode.dll
Syntax
public class BrightnessFilter : Object, IImageFilter
Constructors
BrightnessFilter()
Initializes a new instance of the BrightnessFilter class.
Declaration
public BrightnessFilter()
BrightnessFilter(Single)
Initializes a new instance of the BrightnessFilter class with the specified amount.
Declaration
public BrightnessFilter(float amount)
Parameters
Type | Name | Description |
---|---|---|
System.Single | amount | The proportion of the conversion. Value must be between [-1, 1]. Positive values increase brightness, negative values decrease brightness. A value of 0 leaves the image unchanged. |
Properties
Amount
The proportion of the conversion. Value must be between [-1, 1]. Default = 0.
Positive values increase brightness, negative values decrease brightness. A value of 0 leaves the image unchanged.
Declaration
public float Amount { get; set; }
Property Value
Type | Description |
---|---|
System.Single |