Interface IRowOperation<TBuffer>
Defines the contract for an action that operates on a row with a temporary buffer.
Namespace: SixLabors.ImageSharp.Advanced
Assembly: SixLabors.ImageSharp.dll
Syntax
public interface IRowOperation<TBuffer> where TBuffer : unmanaged
  Type Parameters
| Name | Description | 
|---|---|
| TBuffer | The type of buffer elements.  | 
      
Methods
| Edit this page View SourceGetRequiredBufferLength(Rectangle)
Return the minimal required number of items in the buffer passed on Invoke(int, Span<TBuffer>).
Declaration
int GetRequiredBufferLength(Rectangle bounds)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Rectangle | bounds | The bounds of the operation.  | 
      
Returns
| Type | Description | 
|---|---|
| int | The required buffer length.  | 
      
Invoke(int, Span<TBuffer>)
Invokes the method passing the row and a buffer.
Declaration
void Invoke(int y, Span<TBuffer> span)
  Parameters
| Type | Name | Description | 
|---|---|---|
| int | y | The row y coordinate.  | 
      
| Span<TBuffer> | span | The contiguous region of memory.  |