Method DrawBeziers
- Namespace
- PaintDotNet.Direct2D1
- Assembly
- PaintDotNet.Windows.Framework.dll
DrawBeziers(IDeviceContext, ReadOnlySpan<Point2Float>, IDeviceBrush, float, IStrokeStyle?)
public static void DrawBeziers(this IDeviceContext deviceContext, ReadOnlySpan<Point2Float> points, IDeviceBrush brush, float strokeWidth = 1, IStrokeStyle? strokeStyle = null)
Parameters
deviceContext
IDeviceContextpoints
ReadOnlySpan<Point2Float>brush
IDeviceBrushstrokeWidth
floatstrokeStyle
IStrokeStyle
DrawBeziers(IDeviceContext, Point2Float, ReadOnlySpan<BezierSegment>, IDeviceBrush, float, IStrokeStyle?)
public static void DrawBeziers(this IDeviceContext deviceContext, Point2Float startPoint, ReadOnlySpan<BezierSegment> beziers, IDeviceBrush brush, float strokeWidth = 1, IStrokeStyle? strokeStyle = null)
Parameters
deviceContext
IDeviceContextstartPoint
Point2Floatbeziers
ReadOnlySpan<BezierSegment>brush
IDeviceBrushstrokeWidth
floatstrokeStyle
IStrokeStyle