Class HueExtensions
Defines extensions that allow the alteration of the hue component of an Image using Mutate/Clone.
Inherited Members
Namespace: SixLabors.ImageSharp.Processing
Assembly: SixLabors.ImageSharp.dll
Syntax
public static class HueExtensions
Methods
| Edit this page View SourceHue(IImageProcessingContext, float)
Alters the hue component of the image.
Declaration
public static IImageProcessingContext Hue(this IImageProcessingContext source, float degrees)
Parameters
Type | Name | Description |
---|---|---|
IImageProcessingContext | source | The current image processing context. |
float | degrees | The rotation angle in degrees to adjust the hue. |
Returns
Type | Description |
---|---|
IImageProcessingContext |
Hue(IImageProcessingContext, float, Rectangle)
Alters the hue component of the image.
Declaration
public static IImageProcessingContext Hue(this IImageProcessingContext source, float degrees, Rectangle rectangle)
Parameters
Type | Name | Description |
---|---|---|
IImageProcessingContext | source | The current image processing context. |
float | degrees | The rotation angle in degrees to adjust the hue. |
Rectangle | rectangle | The Rectangle structure that specifies the portion of the image object to alter. |
Returns
Type | Description |
---|---|
IImageProcessingContext |