Class ClearExtensions
Adds extensions that allow the flood filling of images without blending.
Inherited Members
Namespace: SixLabors.ImageSharp.Drawing.Processing
Assembly: SixLabors.ImageSharp.Drawing.dll
Syntax
public static class ClearExtensions
Methods
| Edit this page View SourceClear(IImageProcessingContext, Color)
Flood fills the image with the specified color without any blending.
Declaration
public static IImageProcessingContext Clear(this IImageProcessingContext source, Color color)
Parameters
Type | Name | Description |
---|---|---|
IImageProcessingContext | source | The source image processing context. |
Color | color | The color. |
Returns
Type | Description |
---|---|
IImageProcessingContext | The IImageProcessingContext to allow chaining of operations. |
Clear(IImageProcessingContext, Brush)
Flood fills the image with the specified brush without any blending.
Declaration
public static IImageProcessingContext Clear(this IImageProcessingContext source, Brush brush)
Parameters
Type | Name | Description |
---|---|---|
IImageProcessingContext | source | The source image processing context. |
Brush | brush | The brush. |
Returns
Type | Description |
---|---|
IImageProcessingContext | The IImageProcessingContext to allow chaining of operations. |
Clear(IImageProcessingContext, DrawingOptions, Color)
Flood fills the image with the specified color without any blending.
Declaration
public static IImageProcessingContext Clear(this IImageProcessingContext source, DrawingOptions options, Color color)
Parameters
Type | Name | Description |
---|---|---|
IImageProcessingContext | source | The source image processing context. |
DrawingOptions | options | The drawing options. |
Color | color | The color. |
Returns
Type | Description |
---|---|
IImageProcessingContext | The IImageProcessingContext to allow chaining of operations. |
Clear(IImageProcessingContext, DrawingOptions, Brush)
Flood fills the image with the specified brush without any blending.
Declaration
public static IImageProcessingContext Clear(this IImageProcessingContext source, DrawingOptions options, Brush brush)
Parameters
Type | Name | Description |
---|---|---|
IImageProcessingContext | source | The source image processing context. |
DrawingOptions | options | The drawing options. |
Brush | brush | The brush. |
Returns
Type | Description |
---|---|
IImageProcessingContext | The IImageProcessingContext to allow chaining of operations. |