Class ContrastProcessor
- Namespace
- SixLabors.ImageSharp.Processing.Processors.Filters
- Assembly
- SixLabors.ImageSharp.dll
Applies a contrast filter matrix using the given amount.
public sealed class ContrastProcessor : FilterProcessor, IImageProcessor
- Inheritance
-
ContrastProcessor
- Implements
- Inherited Members
Constructors
ContrastProcessor(float)
Initializes a new instance of the ContrastProcessor class.
public ContrastProcessor(float amount)
Parameters
amountfloatThe proportion of the conversion. Must be greater than or equal to 0.
Remarks
A value of
Properties
Amount
Gets the proportion of the conversion.
public float Amount { get; }