Table of Contents

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 IImageProcessingContext

The current image processing context.

degrees float

The rotation angle in degrees to adjust the hue.

Returns

IImageProcessingContext

The IImageProcessingContext.

Hue(IImageProcessingContext, float, Rectangle)

Alters the hue component of the image.

public static IImageProcessingContext Hue(this IImageProcessingContext source, float degrees, Rectangle rectangle)

Parameters

source IImageProcessingContext

The current image processing context.

degrees float

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

IImageProcessingContext

The IImageProcessingContext.