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