Table of Contents

Delegate PixelRowOperation<T>

Namespace
SixLabors.ImageSharp.Processing
Assembly
SixLabors.ImageSharp.dll

A delegate representing a user defined processing delegate to use to modify image rows.

public delegate void PixelRowOperation<in T>(Span<Vector4> span, T value)

Parameters

span Span<Vector4>

The target row of Vector4 pixels to process.

value T

The parameter of the method that this delegate encapsulates.

Type Parameters

T

The type of the parameter of the method that this delegate encapsulates. This type parameter is contravariant.That is, you can use either the type you specified or any type that is less derived.

Remarks

The X, Y, Z, and W fields map the RGBA channels respectively.