Class GlowProcessor
- Namespace
- SixLabors.ImageSharp.Processing.Processors.Overlays
- Assembly
- SixLabors.ImageSharp.dll
Defines a radial glow effect applicable to an Image.
public sealed class GlowProcessor : IImageProcessor
- Inheritance
-
GlowProcessor
- Implements
- Inherited Members
Constructors
GlowProcessor(GraphicsOptions, Color)
Initializes a new instance of the GlowProcessor class.
public GlowProcessor(GraphicsOptions options, Color color)
Parameters
optionsGraphicsOptionsThe options effecting blending and composition.
colorColorThe color or the glow.
Properties
GlowColor
Gets the glow color to apply.
public Color GlowColor { get; }
Property Value
GraphicsOptions
Gets the options effecting blending and composition.
public GraphicsOptions GraphicsOptions { get; }
Property Value
Methods
CreatePixelSpecificProcessor<TPixel>(Configuration, Image<TPixel>, Rectangle)
Creates a pixel specific IImageProcessor<TPixel> that is capable of executing the processing algorithm on an Image<TPixel>.
public IImageProcessor<TPixel> CreatePixelSpecificProcessor<TPixel>(Configuration configuration, Image<TPixel> source, Rectangle sourceRectangle) where TPixel : unmanaged, IPixel<TPixel>
Parameters
configurationConfigurationThe configuration which allows altering default behaviour or extending the library.
sourceImage<TPixel>The source image. Cannot be null.
sourceRectangleRectangleThe Rectangle structure that specifies the portion of the image object to draw.
Returns
- IImageProcessor<TPixel>
Type Parameters
TPixelThe pixel type.