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