Table of Contents

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 IDeviceContext
points ReadOnlySpan<Point2Float>
brush IDeviceBrush
strokeWidth float
strokeStyle 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 IDeviceContext
startPoint Point2Float
beziers ReadOnlySpan<BezierSegment>
brush IDeviceBrush
strokeWidth float
strokeStyle IStrokeStyle