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
spanSpan<Vector4>The target row of Vector4 pixels to process.
valueTThe parameter of the method that this delegate encapsulates.
Type Parameters
TThe 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
spanSpan<Vector4>valueTcallbackAsyncCallbackobjectobject
Returns
EndInvoke(IAsyncResult)
public virtual void EndInvoke(IAsyncResult result)
Parameters
resultIAsyncResult
Invoke(Span<Vector4>, T)
public virtual void Invoke(Span<Vector4> span, T value)