Class RotateFlipExtensions
Defines extensions that allow the application of rotate-flip operations on an Image using Mutate/Clone.
Inherited Members
Namespace: SixLabors.ImageSharp.Processing
Assembly: SixLabors.ImageSharp.dll
Syntax
public static class RotateFlipExtensions
Methods
RotateFlip(IImageProcessingContext, RotateMode, FlipMode)
Rotates and flips an image by the given instructions.
Declaration
public static IImageProcessingContext RotateFlip(this IImageProcessingContext source, RotateMode rotateMode, FlipMode flipMode)
Parameters
| Type | Name | Description |
|---|---|---|
| IImageProcessingContext | source | The current image processing context. |
| RotateMode | rotateMode | The RotateMode to perform the rotation. |
| FlipMode | flipMode | The FlipMode to perform the flip. |
Returns
| Type | Description |
|---|---|
| IImageProcessingContext |