Table of Contents

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

amount float

The proportion of the conversion. Must be between 0 and 1.

Properties

Amount

Gets the proportion of the conversion

public float Amount { get; }

Property Value

float