Class DrawBezierExtensions
Adds extensions that allow the drawing of Bezier paths.
Inherited Members
Namespace: SixLabors.ImageSharp.Drawing.Processing
Assembly: SixLabors.ImageSharp.Drawing.dll
Syntax
public static class DrawBezierExtensions
Methods
| Edit this page View SourceDrawBeziers(IImageProcessingContext, Color, float, params PointF[])
Draws the provided points as an open Bezier path at the provided thickness with the supplied brush
Declaration
public static IImageProcessingContext DrawBeziers(this IImageProcessingContext source, Color color, float thickness, params PointF[] points)
Parameters
Type | Name | Description |
---|---|---|
IImageProcessingContext | source | The source image processing context. |
Color | color | The color. |
float | thickness | The thickness. |
PointF[] | points | The points. |
Returns
Type | Description |
---|---|
IImageProcessingContext | The IImageProcessingContext to allow chaining of operations. |
DrawBeziers(IImageProcessingContext, Brush, float, params PointF[])
Draws the provided points as an open Bezier path at the provided thickness with the supplied brush
Declaration
public static IImageProcessingContext DrawBeziers(this IImageProcessingContext source, Brush brush, float thickness, params PointF[] points)
Parameters
Type | Name | Description |
---|---|---|
IImageProcessingContext | source | The source image processing context. |
Brush | brush | The brush. |
float | thickness | The thickness. |
PointF[] | points | The points. |
Returns
Type | Description |
---|---|
IImageProcessingContext | The IImageProcessingContext to allow chaining of operations. |
DrawBeziers(IImageProcessingContext, DrawingOptions, Color, float, params PointF[])
Draws the provided points as an open Bezier path at the provided thickness with the supplied brush
Declaration
public static IImageProcessingContext DrawBeziers(this IImageProcessingContext source, DrawingOptions options, Color color, float thickness, params PointF[] points)
Parameters
Type | Name | Description |
---|---|---|
IImageProcessingContext | source | The source image processing context. |
DrawingOptions | options | The options. |
Color | color | The color. |
float | thickness | The thickness. |
PointF[] | points | The points. |
Returns
Type | Description |
---|---|
IImageProcessingContext | The IImageProcessingContext to allow chaining of operations. |
DrawBeziers(IImageProcessingContext, DrawingOptions, Brush, float, params PointF[])
Draws the provided points as an open Bezier path at the provided thickness with the supplied brush
Declaration
public static IImageProcessingContext DrawBeziers(this IImageProcessingContext source, DrawingOptions options, Brush brush, float thickness, params PointF[] points)
Parameters
Type | Name | Description |
---|---|---|
IImageProcessingContext | source | The source image processing context. |
DrawingOptions | options | The options. |
Brush | brush | The brush. |
float | thickness | The thickness. |
PointF[] | points | The points. |
Returns
Type | Description |
---|---|
IImageProcessingContext | The IImageProcessingContext to allow chaining of operations. |
DrawBeziers(IImageProcessingContext, DrawingOptions, Pen, params PointF[])
Draws the provided points as an open Bezier path with the supplied pen
Declaration
public static IImageProcessingContext DrawBeziers(this IImageProcessingContext source, DrawingOptions options, Pen pen, params PointF[] points)
Parameters
Type | Name | Description |
---|---|---|
IImageProcessingContext | source | The source image processing context. |
DrawingOptions | options | The options. |
Pen | pen | The pen. |
PointF[] | points | The points. |
Returns
Type | Description |
---|---|
IImageProcessingContext | The IImageProcessingContext to allow chaining of operations. |
DrawBeziers(IImageProcessingContext, Pen, params PointF[])
Draws the provided points as an open Bezier path with the supplied pen
Declaration
public static IImageProcessingContext DrawBeziers(this IImageProcessingContext source, Pen pen, params PointF[] points)
Parameters
Type | Name | Description |
---|---|---|
IImageProcessingContext | source | The source image processing context. |
Pen | pen | The pen. |
PointF[] | points | The points. |
Returns
Type | Description |
---|---|
IImageProcessingContext | The IImageProcessingContext to allow chaining of operations. |