Class ContrastFilter
A filter for adjust image Contrast.
Inheritance
System.Object
ContrastFilter
Implements
Namespace: IronBarCode
Assembly: IronBarCode.dll
Syntax
public class ContrastFilter : Object, IImageFilter
Constructors
ContrastFilter()
Initializes a new instance of the ContrastFilter class.
Declaration
public ContrastFilter()
ContrastFilter(Single)
Initializes a new instance of the ContrastFilter class with the specified amount.
Declaration
public ContrastFilter(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 gray. 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 gray. A value of 1 leaves the input unchanged.
Declaration
public float Amount { get; set; }
Property Value
Type | Description |
---|---|
System.Single |