Class HueExtensions
- Namespace
- SixLabors.ImageSharp.Processing
- Assembly
- SixLabors.ImageSharp.dll
Defines extensions that allow the alteration of the hue component of an Image using Mutate/Clone.
public static class HueExtensions
- Inheritance
-
HueExtensions
- Inherited Members
Methods
Hue(IImageProcessingContext, float)
Alters the hue component of the image.
public static IImageProcessingContext Hue(this IImageProcessingContext source, float degrees)
Parameters
source
IImageProcessingContextThe current image processing context.
degrees
floatThe rotation angle in degrees to adjust the hue.
Returns
Hue(IImageProcessingContext, float, Rectangle)
Alters the hue component of the image.
public static IImageProcessingContext Hue(this IImageProcessingContext source, float degrees, Rectangle rectangle)
Parameters
source
IImageProcessingContextThe current image processing context.
degrees
floatThe rotation angle in degrees to adjust the hue.
rectangle
RectangleThe Rectangle structure that specifies the portion of the image object to alter.