Class InvertProcessor
Applies a filter matrix that inverts the colors of an image
Implements
Inherited Members
Namespace: SixLabors.ImageSharp.Processing.Processors.Filters
Assembly: SixLabors.ImageSharp.dll
Syntax
public sealed class InvertProcessor : FilterProcessor, IImageProcessor
Constructors
| Edit this page View SourceInvertProcessor(float)
Initializes a new instance of the InvertProcessor class.
Declaration
public InvertProcessor(float amount)
Parameters
Type | Name | Description |
---|---|---|
float | amount | The proportion of the conversion. Must be between 0 and 1. |
Properties
| Edit this page View SourceAmount
Gets the proportion of the conversion
Declaration
public float Amount { get; }
Property Value
Type | Description |
---|---|
float |