Table of Contents

Class GlowExtensions

Namespace
SixLabors.ImageSharp.Processing
Assembly
SixLabors.ImageSharp.dll

Defines extensions that allow the application of a radial glow on an Image using Mutate/Clone.

public static class GlowExtensions
Inheritance
GlowExtensions
Inherited Members

Methods

Glow(IImageProcessingContext)

Applies a radial glow effect to an image.

public static IImageProcessingContext Glow(this IImageProcessingContext source)

Parameters

source IImageProcessingContext

The current image processing context.

Returns

IImageProcessingContext

The IImageProcessingContext.

Glow(IImageProcessingContext, Color)

Applies a radial glow effect to an image.

public static IImageProcessingContext Glow(this IImageProcessingContext source, Color color)

Parameters

source IImageProcessingContext

The current image processing context.

color Color

The color to set as the glow.

Returns

IImageProcessingContext

The IImageProcessingContext.

Glow(IImageProcessingContext, Color, float, Rectangle)

Applies a radial glow effect to an image.

public static IImageProcessingContext Glow(this IImageProcessingContext source, Color color, float radius, Rectangle rectangle)

Parameters

source IImageProcessingContext

The current image processing context.

color Color

The color to set as the glow.

radius float

The the radius.

rectangle Rectangle

The Rectangle structure that specifies the portion of the image object to alter.

Returns

IImageProcessingContext

The IImageProcessingContext.

Glow(IImageProcessingContext, GraphicsOptions)

Applies a radial glow effect to an image.

public static IImageProcessingContext Glow(this IImageProcessingContext source, GraphicsOptions options)

Parameters

source IImageProcessingContext

The current image processing context.

options GraphicsOptions

The options effecting things like blending.

Returns

IImageProcessingContext

The IImageProcessingContext.

Glow(IImageProcessingContext, GraphicsOptions, Color)

Applies a radial glow effect to an image.

public static IImageProcessingContext Glow(this IImageProcessingContext source, GraphicsOptions options, Color color)

Parameters

source IImageProcessingContext

The current image processing context.

options GraphicsOptions

The options effecting things like blending.

color Color

The color to set as the glow.

Returns

IImageProcessingContext

The IImageProcessingContext.

Glow(IImageProcessingContext, GraphicsOptions, Color, float, Rectangle)

Applies a radial glow effect to an image.

public static IImageProcessingContext Glow(this IImageProcessingContext source, GraphicsOptions options, Color color, float radius, Rectangle rectangle)

Parameters

source IImageProcessingContext

The current image processing context.

options GraphicsOptions

The options effecting things like blending.

color Color

The color to set as the glow.

radius float

The the radius.

rectangle Rectangle

The Rectangle structure that specifies the portion of the image object to alter.

Returns

IImageProcessingContext

The IImageProcessingContext.

Glow(IImageProcessingContext, GraphicsOptions, Rectangle)

Applies a radial glow effect to an image.

public static IImageProcessingContext Glow(this IImageProcessingContext source, GraphicsOptions options, Rectangle rectangle)

Parameters

source IImageProcessingContext

The current image processing context.

options GraphicsOptions

The options effecting things like blending.

rectangle Rectangle

The Rectangle structure that specifies the portion of the image object to alter.

Returns

IImageProcessingContext

The IImageProcessingContext.

Glow(IImageProcessingContext, GraphicsOptions, float)

Applies a radial glow effect to an image.

public static IImageProcessingContext Glow(this IImageProcessingContext source, GraphicsOptions options, float radius)

Parameters

source IImageProcessingContext

The current image processing context.

options GraphicsOptions

The options effecting things like blending.

radius float

The the radius.

Returns

IImageProcessingContext

The IImageProcessingContext.

Glow(IImageProcessingContext, Rectangle)

Applies a radial glow effect to an image.

public static IImageProcessingContext Glow(this IImageProcessingContext source, Rectangle rectangle)

Parameters

source IImageProcessingContext

The current image processing context.

rectangle Rectangle

The Rectangle structure that specifies the portion of the image object to alter.

Returns

IImageProcessingContext

The IImageProcessingContext.

Glow(IImageProcessingContext, float)

Applies a radial glow effect to an image.

public static IImageProcessingContext Glow(this IImageProcessingContext source, float radius)

Parameters

source IImageProcessingContext

The current image processing context.

radius float

The the radius.

Returns

IImageProcessingContext

The IImageProcessingContext.