Class PixelRowDelegateExtensions
Defines extension methods that allow the application of user defined processing delegate to an Image.
Inherited Members
Namespace: SixLabors.ImageSharp.Processing
Assembly: SixLabors.ImageSharp.dll
Syntax
public static class PixelRowDelegateExtensions
Methods
| Edit this page View SourceProcessPixelRowsAsVector4(IImageProcessingContext, PixelRowOperation)
Applies a user defined processing delegate to the image.
Declaration
public static IImageProcessingContext ProcessPixelRowsAsVector4(this IImageProcessingContext source, PixelRowOperation rowOperation)
Parameters
Type | Name | Description |
---|---|---|
IImageProcessingContext | source | The current image processing context. |
PixelRowOperation | rowOperation | The user defined processing delegate to use to modify image rows. |
Returns
Type | Description |
---|---|
IImageProcessingContext |
ProcessPixelRowsAsVector4(IImageProcessingContext, PixelRowOperation, PixelConversionModifiers)
Applies a user defined processing delegate to the image.
Declaration
public static IImageProcessingContext ProcessPixelRowsAsVector4(this IImageProcessingContext source, PixelRowOperation rowOperation, PixelConversionModifiers modifiers)
Parameters
Type | Name | Description |
---|---|---|
IImageProcessingContext | source | The current image processing context. |
PixelRowOperation | rowOperation | The user defined processing delegate to use to modify image rows. |
PixelConversionModifiers | modifiers | The PixelConversionModifiers to apply during the pixel conversions. |
Returns
Type | Description |
---|---|
IImageProcessingContext |
ProcessPixelRowsAsVector4(IImageProcessingContext, PixelRowOperation, Rectangle)
Applies a user defined processing delegate to the image.
Declaration
public static IImageProcessingContext ProcessPixelRowsAsVector4(this IImageProcessingContext source, PixelRowOperation rowOperation, Rectangle rectangle)
Parameters
Type | Name | Description |
---|---|---|
IImageProcessingContext | source | The current image processing context. |
PixelRowOperation | rowOperation | The user defined processing delegate to use to modify image rows. |
Rectangle | rectangle | The Rectangle structure that specifies the portion of the image object to alter. |
Returns
Type | Description |
---|---|
IImageProcessingContext |
ProcessPixelRowsAsVector4(IImageProcessingContext, PixelRowOperation, Rectangle, PixelConversionModifiers)
Applies a user defined processing delegate to the image.
Declaration
public static IImageProcessingContext ProcessPixelRowsAsVector4(this IImageProcessingContext source, PixelRowOperation rowOperation, Rectangle rectangle, PixelConversionModifiers modifiers)
Parameters
Type | Name | Description |
---|---|---|
IImageProcessingContext | source | The current image processing context. |
PixelRowOperation | rowOperation | The user defined processing delegate to use to modify image rows. |
Rectangle | rectangle | The Rectangle structure that specifies the portion of the image object to alter. |
PixelConversionModifiers | modifiers | The PixelConversionModifiers to apply during the pixel conversions. |
Returns
Type | Description |
---|---|
IImageProcessingContext |
ProcessPixelRowsAsVector4(IImageProcessingContext, PixelRowOperation<Point>)
Applies a user defined processing delegate to the image.
Declaration
public static IImageProcessingContext ProcessPixelRowsAsVector4(this IImageProcessingContext source, PixelRowOperation<Point> rowOperation)
Parameters
Type | Name | Description |
---|---|---|
IImageProcessingContext | source | The current image processing context. |
PixelRowOperation<Point> | rowOperation | The user defined processing delegate to use to modify image rows. |
Returns
Type | Description |
---|---|
IImageProcessingContext |
ProcessPixelRowsAsVector4(IImageProcessingContext, PixelRowOperation<Point>, PixelConversionModifiers)
Applies a user defined processing delegate to the image.
Declaration
public static IImageProcessingContext ProcessPixelRowsAsVector4(this IImageProcessingContext source, PixelRowOperation<Point> rowOperation, PixelConversionModifiers modifiers)
Parameters
Type | Name | Description |
---|---|---|
IImageProcessingContext | source | The current image processing context. |
PixelRowOperation<Point> | rowOperation | The user defined processing delegate to use to modify image rows. |
PixelConversionModifiers | modifiers | The PixelConversionModifiers to apply during the pixel conversions. |
Returns
Type | Description |
---|---|
IImageProcessingContext |
ProcessPixelRowsAsVector4(IImageProcessingContext, PixelRowOperation<Point>, Rectangle)
Applies a user defined processing delegate to the image.
Declaration
public static IImageProcessingContext ProcessPixelRowsAsVector4(this IImageProcessingContext source, PixelRowOperation<Point> rowOperation, Rectangle rectangle)
Parameters
Type | Name | Description |
---|---|---|
IImageProcessingContext | source | The current image processing context. |
PixelRowOperation<Point> | rowOperation | The user defined processing delegate to use to modify image rows. |
Rectangle | rectangle | The Rectangle structure that specifies the portion of the image object to alter. |
Returns
Type | Description |
---|---|
IImageProcessingContext |
ProcessPixelRowsAsVector4(IImageProcessingContext, PixelRowOperation<Point>, Rectangle, PixelConversionModifiers)
Applies a user defined processing delegate to the image.
Declaration
public static IImageProcessingContext ProcessPixelRowsAsVector4(this IImageProcessingContext source, PixelRowOperation<Point> rowOperation, Rectangle rectangle, PixelConversionModifiers modifiers)
Parameters
Type | Name | Description |
---|---|---|
IImageProcessingContext | source | The current image processing context. |
PixelRowOperation<Point> | rowOperation | The user defined processing delegate to use to modify image rows. |
Rectangle | rectangle | The Rectangle structure that specifies the portion of the image object to alter. |
PixelConversionModifiers | modifiers | The PixelConversionModifiers to apply during the pixel conversions. |
Returns
Type | Description |
---|---|
IImageProcessingContext |