Class ClearPathExtensions
Adds extensions that allow the filling of polygon outlines to the
Inherited Members
Namespace: SixLabors.ImageSharp.Drawing.Processing
Assembly: SixLabors.ImageSharp.Drawing.dll
Syntax
public static class ClearPathExtensions
Methods
| Improve this Doc View SourceClear(IImageProcessingContext, Color, IPath)
Flood fills the image in the shape of the provided polygon with the specified brush without any blending.
Declaration
public static IImageProcessingContext Clear(this IImageProcessingContext source, Color color, IPath path)
Parameters
| Type | Name | Description |
|---|---|---|
| IImageProcessingContext | source | The image this method extends. |
| Color | color | The color. |
| IPath | path | The path. |
Returns
| Type | Description |
|---|---|
| IImageProcessingContext | The |
Clear(IImageProcessingContext, DrawingOptions, Color, IPath)
Flood fills the image in the shape of the provided polygon with the specified brush without any blending.
Declaration
public static IImageProcessingContext Clear(this IImageProcessingContext source, DrawingOptions options, Color color, IPath path)
Parameters
| Type | Name | Description |
|---|---|---|
| IImageProcessingContext | source | The image this method extends. |
| DrawingOptions | options | The options. |
| Color | color | The color. |
| IPath | path | The path. |
Returns
| Type | Description |
|---|---|
| IImageProcessingContext | The |
Clear(IImageProcessingContext, DrawingOptions, IBrush, IPath)
Flood fills the image in the shape of the provided polygon with the specified brush without any blending.
Declaration
public static IImageProcessingContext Clear(this IImageProcessingContext source, DrawingOptions options, IBrush brush, IPath path)
Parameters
| Type | Name | Description |
|---|---|---|
| IImageProcessingContext | source | The image this method extends. |
| DrawingOptions | options | The graphics options. |
| IBrush | brush | The brush. |
| IPath | path | The shape. |
Returns
| Type | Description |
|---|---|
| IImageProcessingContext | The |
Clear(IImageProcessingContext, IBrush, IPath)
Flood fills the image in the shape of the provided polygon with the specified brush without any blending.
Declaration
public static IImageProcessingContext Clear(this IImageProcessingContext source, IBrush brush, IPath path)
Parameters
| Type | Name | Description |
|---|---|---|
| IImageProcessingContext | source | The image this method extends. |
| IBrush | brush | The brush. |
| IPath | path | The path. |
Returns
| Type | Description |
|---|---|
| IImageProcessingContext | The |