Class FillPolygonExtensions
Adds extensions that allow the filling of closed linear polygons to the
Inherited Members
Namespace: SixLabors.ImageSharp.Drawing.Processing
Assembly: SixLabors.ImageSharp.Drawing.dll
Syntax
public static class FillPolygonExtensions
Methods
| Improve this Doc View SourceFillPolygon(IImageProcessingContext, Color, PointF[])
Flood fills the image in the shape of a Linear polygon described by the points
Declaration
public static IImageProcessingContext FillPolygon(this IImageProcessingContext source, Color color, params PointF[] points)
Parameters
| Type | Name | Description |
|---|---|---|
| IImageProcessingContext | source | The image this method extends. |
| Color | color | The color. |
| PointF[] | points | The points. |
Returns
| Type | Description |
|---|---|
| IImageProcessingContext | The |
FillPolygon(IImageProcessingContext, DrawingOptions, Color, PointF[])
Flood fills the image in the shape of a Linear polygon described by the points
Declaration
public static IImageProcessingContext FillPolygon(this IImageProcessingContext source, DrawingOptions options, Color color, params PointF[] points)
Parameters
| Type | Name | Description |
|---|---|---|
| IImageProcessingContext | source | The image this method extends. |
| DrawingOptions | options | The options. |
| Color | color | The color. |
| PointF[] | points | The points. |
Returns
| Type | Description |
|---|---|
| IImageProcessingContext | The |
FillPolygon(IImageProcessingContext, DrawingOptions, IBrush, PointF[])
Flood fills the image in the shape of a Linear polygon described by the points
Declaration
public static IImageProcessingContext FillPolygon(this IImageProcessingContext source, DrawingOptions options, IBrush brush, params PointF[] points)
Parameters
| Type | Name | Description |
|---|---|---|
| IImageProcessingContext | source | The image this method extends. |
| DrawingOptions | options | The options. |
| IBrush | brush | The brush. |
| PointF[] | points | The points. |
Returns
| Type | Description |
|---|---|
| IImageProcessingContext | The |
FillPolygon(IImageProcessingContext, IBrush, PointF[])
Flood fills the image in the shape of a Linear polygon described by the points
Declaration
public static IImageProcessingContext FillPolygon(this IImageProcessingContext source, IBrush brush, params PointF[] points)
Parameters
| Type | Name | Description |
|---|---|---|
| IImageProcessingContext | source | The image this method extends. |
| IBrush | brush | The brush. |
| PointF[] | points | The points. |
Returns
| Type | Description |
|---|---|
| IImageProcessingContext | The |