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
IImageProcessingContextThe current image processing context.
Returns
Glow(IImageProcessingContext, Color)
Applies a radial glow effect to an image.
public static IImageProcessingContext Glow(this IImageProcessingContext source, Color color)
Parameters
source
IImageProcessingContextThe current image processing context.
color
ColorThe color to set as the glow.
Returns
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
IImageProcessingContextThe current image processing context.
color
ColorThe color to set as the glow.
radius
floatThe the radius.
rectangle
RectangleThe Rectangle structure that specifies the portion of the image object to alter.
Returns
Glow(IImageProcessingContext, GraphicsOptions)
Applies a radial glow effect to an image.
public static IImageProcessingContext Glow(this IImageProcessingContext source, GraphicsOptions options)
Parameters
source
IImageProcessingContextThe current image processing context.
options
GraphicsOptionsThe options effecting things like blending.
Returns
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
IImageProcessingContextThe current image processing context.
options
GraphicsOptionsThe options effecting things like blending.
color
ColorThe color to set as the glow.
Returns
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
IImageProcessingContextThe current image processing context.
options
GraphicsOptionsThe options effecting things like blending.
color
ColorThe color to set as the glow.
radius
floatThe the radius.
rectangle
RectangleThe Rectangle structure that specifies the portion of the image object to alter.
Returns
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
IImageProcessingContextThe current image processing context.
options
GraphicsOptionsThe options effecting things like blending.
rectangle
RectangleThe Rectangle structure that specifies the portion of the image object to alter.
Returns
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
IImageProcessingContextThe current image processing context.
options
GraphicsOptionsThe options effecting things like blending.
radius
floatThe the radius.
Returns
Glow(IImageProcessingContext, Rectangle)
Applies a radial glow effect to an image.
public static IImageProcessingContext Glow(this IImageProcessingContext source, Rectangle rectangle)
Parameters
source
IImageProcessingContextThe current image processing context.
rectangle
RectangleThe Rectangle structure that specifies the portion of the image object to alter.
Returns
Glow(IImageProcessingContext, float)
Applies a radial glow effect to an image.
public static IImageProcessingContext Glow(this IImageProcessingContext source, float radius)
Parameters
source
IImageProcessingContextThe current image processing context.
radius
floatThe the radius.