Class FillPathProcessor
Defines a processor to fill
Namespace: SixLabors.ImageSharp.Drawing.Processing.Processors.Drawing
Assembly: SixLabors.ImageSharp.Drawing.dll
Syntax
public class FillPathProcessor : IImageProcessor
Constructors
| Improve this Doc View SourceFillPathProcessor(DrawingOptions, IBrush, IPath)
Initializes a new instance of the FillPathProcessor class.
Declaration
public FillPathProcessor(DrawingOptions options, IBrush brush, IPath shape)
Parameters
Type | Name | Description |
---|---|---|
DrawingOptions | options | The graphics options. |
IBrush | brush | The details how to fill the region of interest. |
IPath | shape | The shape to be filled. |
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 DrawingOptions Options { get; }
Property Value
Type | Description |
---|---|
DrawingOptions |
Shape
Gets the region that this processor applies to.
Declaration
public IPath Shape { get; }
Property Value
Type | Description |
---|---|
IPath |
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 |