Class FillProcessor
Defines a processor to fill an
Namespace: SixLabors.ImageSharp.Drawing.Processing.Processors.Drawing
Assembly: SixLabors.ImageSharp.Drawing.dll
Syntax
public class FillProcessor : IImageProcessor
Constructors
| Improve this Doc View SourceFillProcessor(GraphicsOptions, IBrush)
Initializes a new instance of the FillProcessor class.
Declaration
public FillProcessor(GraphicsOptions options, IBrush brush)
Parameters
Type | Name | Description |
---|---|---|
GraphicsOptions | options | The |
IBrush | brush | The brush to use for filling. |
Properties
| Improve this Doc View SourceBrush
Gets the IBrush used for filling the destination image.
Declaration
public IBrush Brush { get; }
Property Value
Type | Description |
---|---|
IBrush |
Options
Gets the
Declaration
public GraphicsOptions Options { get; }
Property Value
Type | Description |
---|---|
GraphicsOptions |
Methods
| Improve this Doc View SourceCreatePixelSpecificProcessor<TPixel>(Configuration, Image<TPixel>, Rectangle)
Declaration
public IImageProcessor<TPixel> CreatePixelSpecificProcessor<TPixel>(Configuration configuration, Image<TPixel> source, Rectangle sourceRectangle)
where TPixel : struct, IPixel<TPixel>
Parameters
Type | Name | Description |
---|---|---|
Configuration | configuration | |
Image<TPixel> | source | |
Rectangle | sourceRectangle |
Returns
Type | Description |
---|---|
IImageProcessor<TPixel> |
Type Parameters
Name | Description |
---|---|
TPixel |