Class BrightnessFilter
A filter for 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. Must be greater than or equal to 0. Default = 1. A value of 0 will create an image that is completely black. A value of 1 leaves the input unchanged. |
Properties
Amount
The proportion of the conversion. Must be greater than or equal to 0. Default = 1.
A value of 0 will create an image that is completely black. A value of 1 leaves the input unchanged.
Declaration
public float Amount { get; set; }
Property Value
Type | Description |
---|---|
System.Single |