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 GlowExtensions
Methods
| Edit this page 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 current image processing context. |
Returns
Type | Description |
---|---|
IImageProcessingContext |
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 current image processing context. |
Color | color | The color to set as the glow. |
Returns
Type | Description |
---|---|
IImageProcessingContext |
Glow(IImageProcessingContext, Color, float, 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 current image processing context. |
Color | color | The color to set as the glow. |
float | radius | The the radius. |
Rectangle | rectangle | The Rectangle structure that specifies the portion of the image object to alter. |
Returns
Type | Description |
---|---|
IImageProcessingContext |
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 current image processing context. |
GraphicsOptions | options | The options effecting things like blending. |
Returns
Type | Description |
---|---|
IImageProcessingContext |
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 current image processing context. |
GraphicsOptions | options | The options effecting things like blending. |
Color | color | The color to set as the glow. |
Returns
Type | Description |
---|---|
IImageProcessingContext |
Glow(IImageProcessingContext, GraphicsOptions, Color, float, 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 current image processing context. |
GraphicsOptions | options | The options effecting things like blending. |
Color | color | The color to set as the glow. |
float | radius | The the radius. |
Rectangle | rectangle | The Rectangle structure that specifies the portion of the image object to alter. |
Returns
Type | Description |
---|---|
IImageProcessingContext |
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 current image processing context. |
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 |
Glow(IImageProcessingContext, GraphicsOptions, float)
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 current image processing context. |
GraphicsOptions | options | The options effecting things like blending. |
float | radius | The the radius. |
Returns
Type | Description |
---|---|
IImageProcessingContext |
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 current image processing context. |
Rectangle | rectangle | The Rectangle structure that specifies the portion of the image object to alter. |
Returns
Type | Description |
---|---|
IImageProcessingContext |
Glow(IImageProcessingContext, float)
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 current image processing context. |
float | radius | The the radius. |
Returns
Type | Description |
---|---|
IImageProcessingContext |