Table of Contents

Method DrawBezier

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.Framework.dll

DrawBezier(IDeviceContext, Point2Float, Point2Float, Point2Float, Point2Float, IDeviceBrush, float, IStrokeStyle?)

public static void DrawBezier(this IDeviceContext deviceContext, Point2Float point1, Point2Float point2, Point2Float point3, Point2Float point4, IDeviceBrush brush, float strokeWidth = 1, IStrokeStyle? strokeStyle = null)

Parameters

deviceContext IDeviceContext
point1 Point2Float
point2 Point2Float
point3 Point2Float
point4 Point2Float
brush IDeviceBrush
strokeWidth float
strokeStyle IStrokeStyle

DrawBezier(IDeviceContext, Point2Float, in BezierSegment, IDeviceBrush, float, IStrokeStyle?)

public static void DrawBezier(this IDeviceContext deviceContext, Point2Float startPoint, in BezierSegment bezier, IDeviceBrush brush, float strokeWidth = 1, IStrokeStyle? strokeStyle = null)

Parameters

deviceContext IDeviceContext
startPoint Point2Float
bezier BezierSegment
brush IDeviceBrush
strokeWidth float
strokeStyle IStrokeStyle