Class InvertProcessor
- Namespace
- SixLabors.ImageSharp.Processing.Processors.Filters
- Assembly
- SixLabors.ImageSharp.dll
Applies a filter matrix that inverts the colors of an image
public sealed class InvertProcessor : FilterProcessor, IImageProcessor
- Inheritance
-
InvertProcessor
- Implements
- Inherited Members
Constructors
InvertProcessor(float)
Initializes a new instance of the InvertProcessor class.
public InvertProcessor(float amount)
Parameters
amountfloatThe proportion of the conversion. Must be between 0 and 1.
Properties
Amount
Gets the proportion of the conversion
public float Amount { get; }