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
sourceIImageProcessingContextThe 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
sourceIImageProcessingContextThe current image processing context.
colorColorThe 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
sourceIImageProcessingContextThe current image processing context.
colorColorThe color to set as the glow.
radiusfloatThe the radius.
rectangleRectangleThe 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
sourceIImageProcessingContextThe current image processing context.
optionsGraphicsOptionsThe 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
sourceIImageProcessingContextThe current image processing context.
optionsGraphicsOptionsThe options effecting things like blending.
colorColorThe 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
sourceIImageProcessingContextThe current image processing context.
optionsGraphicsOptionsThe options effecting things like blending.
colorColorThe color to set as the glow.
radiusfloatThe the radius.
rectangleRectangleThe 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
sourceIImageProcessingContextThe current image processing context.
optionsGraphicsOptionsThe options effecting things like blending.
rectangleRectangleThe 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
sourceIImageProcessingContextThe current image processing context.
optionsGraphicsOptionsThe options effecting things like blending.
radiusfloatThe the radius.
Returns
Glow(IImageProcessingContext, Rectangle)
Applies a radial glow effect to an image.
public static IImageProcessingContext Glow(this IImageProcessingContext source, Rectangle rectangle)
Parameters
sourceIImageProcessingContextThe current image processing context.
rectangleRectangleThe 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
sourceIImageProcessingContextThe current image processing context.
radiusfloatThe the radius.