Class DrawPathProcessor
Defines a processor to fill
Namespace: SixLabors.ImageSharp.Drawing.Processing.Processors.Drawing
Assembly: SixLabors.ImageSharp.Drawing.dll
Syntax
public class DrawPathProcessor : IImageProcessor
Constructors
| Improve this Doc View SourceDrawPathProcessor(DrawingOptions, IPen, IPath)
Initializes a new instance of the DrawPathProcessor class.
Declaration
public DrawPathProcessor(DrawingOptions options, IPen pen, IPath shape)
Parameters
Type | Name | Description |
---|---|---|
DrawingOptions | options | The graphics options. |
IPen | pen | The details how to outline the region of interest. |
IPath | shape | The shape to be filled. |
Properties
| Improve this Doc View SourceOptions
Gets the DrawingOptions defining how to blend the brush pixels over the image pixels.
Declaration
public DrawingOptions Options { get; }
Property Value
Type | Description |
---|---|
DrawingOptions |
Pen
Gets the IBrush used for filling the destination image.
Declaration
public IPen Pen { get; }
Property Value
Type | Description |
---|---|
IPen |
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 |