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
IDeviceContextpoint1
Point2Floatpoint2
Point2Floatpoint3
Point2Floatpoint4
Point2Floatbrush
IDeviceBrushstrokeWidth
floatstrokeStyle
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
IDeviceContextstartPoint
Point2Floatbezier
BezierSegmentbrush
IDeviceBrushstrokeWidth
floatstrokeStyle
IStrokeStyle