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 RotateFlipExtensionsMethods
| Improve this Doc View SourceRotateFlip(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 image to rotate, flip, or both. | 
| RotateMode | rotateMode | The RotateMode to perform the rotation. | 
| FlipMode | flipMode | The FlipMode to perform the flip. | 
Returns
| Type | Description | 
|---|---|
| IImageProcessingContext | The IImageProcessingContext to allow chaining of operations. |