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
sourceIImageProcessingContextThe current image processing context.
degreesfloatThe 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
sourceIImageProcessingContextThe current image processing context.
degreesfloatThe rotation angle in degrees to adjust the hue.
rectangleRectangleThe Rectangle structure that specifies the portion of the image object to alter.