Class SwizzleExtensions
Defines extensions that allow the application of swizzle operations on an Image
Inherited Members
Namespace: SixLabors.ImageSharp.Processing
Assembly: SixLabors.ImageSharp.dll
Syntax
public static class SwizzleExtensions
Methods
| Edit this page View SourceSwizzle<TSwizzler>(IImageProcessingContext, TSwizzler)
Swizzles an image.
Declaration
public static IImageProcessingContext Swizzle<TSwizzler>(this IImageProcessingContext source, TSwizzler swizzler) where TSwizzler : struct, ISwizzler
Parameters
| Type | Name | Description |
|---|---|---|
| IImageProcessingContext | source | The current image processing context. |
| TSwizzler | swizzler | The swizzler function. |
Returns
| Type | Description |
|---|---|
| IImageProcessingContext |
Type Parameters
| Name | Description |
|---|---|
| TSwizzler | The swizzler function type. |