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
TThe 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
Constructors
PixelRowOperation(object, nint)
public PixelRowOperation(object @object, nint method)
Parameters
Methods
BeginInvoke(Span<Vector4>, T, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(Span<Vector4> span, T value, AsyncCallback callback, object @object)
Parameters
span
Span<Vector4>value
Tcallback
AsyncCallbackobject
object
Returns
EndInvoke(IAsyncResult)
public virtual void EndInvoke(IAsyncResult result)
Parameters
result
IAsyncResult
Invoke(Span<Vector4>, T)
public virtual void Invoke(Span<Vector4> span, T value)