Class FillRegionExtensions
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 FillRegionExtensions
Methods
| Improve this Doc View SourceFill(IImageProcessingContext, Color, Region)
Flood fills the image with in the region with the specified color.
Declaration
public static IImageProcessingContext Fill(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 |
Fill(IImageProcessingContext, DrawingOptions, Color, Region)
Flood fills the image with in the region with the specified color.
Declaration
public static IImageProcessingContext Fill(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 |
Fill(IImageProcessingContext, DrawingOptions, IBrush, Region)
Flood fills the image with in the region with the specified brush.
Declaration
public static IImageProcessingContext Fill(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 |
Fill(IImageProcessingContext, IBrush, Region)
Flood fills the image with in the region with the specified brush.
Declaration
public static IImageProcessingContext Fill(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 |