Class GlowExtensions
Defines extensions that allow the application of a radial glow on an Image using Mutate/Clone.
Inherited Members
Namespace: SixLabors.ImageSharp.Processing
Assembly: SixLabors.ImageSharp.dll
Syntax
public static class GlowExtensionsMethods
| Improve this Doc View SourceGlow(IImageProcessingContext)
Applies a radial glow effect to an image.
Declaration
public static IImageProcessingContext Glow(this IImageProcessingContext source)Parameters
| Type | Name | Description | 
|---|---|---|
| IImageProcessingContext | source | The image this method extends. | 
Returns
| Type | Description | 
|---|---|
| IImageProcessingContext | The IImageProcessingContext to allow chaining of operations. | 
Glow(IImageProcessingContext, Color)
Applies a radial glow effect to an image.
Declaration
public static IImageProcessingContext Glow(this IImageProcessingContext source, Color color)Parameters
| Type | Name | Description | 
|---|---|---|
| IImageProcessingContext | source | The image this method extends. | 
| Color | color | The color to set as the glow. | 
Returns
| Type | Description | 
|---|---|
| IImageProcessingContext | The IImageProcessingContext to allow chaining of operations. | 
Glow(IImageProcessingContext, Color, Single, Rectangle)
Applies a radial glow effect to an image.
Declaration
public static IImageProcessingContext Glow(this IImageProcessingContext source, Color color, float radius, Rectangle rectangle)Parameters
| Type | Name | Description | 
|---|---|---|
| IImageProcessingContext | source | The image this method extends. | 
| Color | color | The color to set as the glow. | 
| Single | radius | The the radius. | 
| Rectangle | rectangle | The Rectangle structure that specifies the portion of the image object to alter. | 
Returns
| Type | Description | 
|---|---|
| IImageProcessingContext | The IImageProcessingContext to allow chaining of operations. | 
Glow(IImageProcessingContext, GraphicsOptions)
Applies a radial glow effect to an image.
Declaration
public static IImageProcessingContext Glow(this IImageProcessingContext source, GraphicsOptions options)Parameters
| Type | Name | Description | 
|---|---|---|
| IImageProcessingContext | source | The image this method extends. | 
| GraphicsOptions | options | The options effecting things like blending. | 
Returns
| Type | Description | 
|---|---|
| IImageProcessingContext | The IImageProcessingContext to allow chaining of operations. | 
Glow(IImageProcessingContext, GraphicsOptions, Color)
Applies a radial glow effect to an image.
Declaration
public static IImageProcessingContext Glow(this IImageProcessingContext source, GraphicsOptions options, Color color)Parameters
| Type | Name | Description | 
|---|---|---|
| IImageProcessingContext | source | The image this method extends. | 
| GraphicsOptions | options | The options effecting things like blending. | 
| Color | color | The color to set as the glow. | 
Returns
| Type | Description | 
|---|---|
| IImageProcessingContext | The IImageProcessingContext to allow chaining of operations. | 
Glow(IImageProcessingContext, GraphicsOptions, Color, Single, Rectangle)
Applies a radial glow effect to an image.
Declaration
public static IImageProcessingContext Glow(this IImageProcessingContext source, GraphicsOptions options, Color color, float radius, Rectangle rectangle)Parameters
| Type | Name | Description | 
|---|---|---|
| IImageProcessingContext | source | The image this method extends. | 
| GraphicsOptions | options | The options effecting things like blending. | 
| Color | color | The color to set as the glow. | 
| Single | radius | The the radius. | 
| Rectangle | rectangle | The Rectangle structure that specifies the portion of the image object to alter. | 
Returns
| Type | Description | 
|---|---|
| IImageProcessingContext | The IImageProcessingContext to allow chaining of operations. | 
Glow(IImageProcessingContext, GraphicsOptions, Rectangle)
Applies a radial glow effect to an image.
Declaration
public static IImageProcessingContext Glow(this IImageProcessingContext source, GraphicsOptions options, Rectangle rectangle)Parameters
| Type | Name | Description | 
|---|---|---|
| IImageProcessingContext | source | The image this method extends. | 
| GraphicsOptions | options | The options effecting things like blending. | 
| Rectangle | rectangle | The Rectangle structure that specifies the portion of the image object to alter. | 
Returns
| Type | Description | 
|---|---|
| IImageProcessingContext | The IImageProcessingContext to allow chaining of operations. | 
Glow(IImageProcessingContext, GraphicsOptions, Single)
Applies a radial glow effect to an image.
Declaration
public static IImageProcessingContext Glow(this IImageProcessingContext source, GraphicsOptions options, float radius)Parameters
| Type | Name | Description | 
|---|---|---|
| IImageProcessingContext | source | The image this method extends. | 
| GraphicsOptions | options | The options effecting things like blending. | 
| Single | radius | The the radius. | 
Returns
| Type | Description | 
|---|---|
| IImageProcessingContext | The IImageProcessingContext to allow chaining of operations. | 
Glow(IImageProcessingContext, Rectangle)
Applies a radial glow effect to an image.
Declaration
public static IImageProcessingContext Glow(this IImageProcessingContext source, Rectangle rectangle)Parameters
| Type | Name | Description | 
|---|---|---|
| IImageProcessingContext | source | The image this method extends. | 
| Rectangle | rectangle | The Rectangle structure that specifies the portion of the image object to alter. | 
Returns
| Type | Description | 
|---|---|
| IImageProcessingContext | The IImageProcessingContext to allow chaining of operations. | 
Glow(IImageProcessingContext, Single)
Applies a radial glow effect to an image.
Declaration
public static IImageProcessingContext Glow(this IImageProcessingContext source, float radius)Parameters
| Type | Name | Description | 
|---|---|---|
| IImageProcessingContext | source | The image this method extends. | 
| Single | radius | The the radius. | 
Returns
| Type | Description | 
|---|---|
| IImageProcessingContext | The IImageProcessingContext to allow chaining of operations. |