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