Table of Contents

Method CreateBezierPathGeometry

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

CreateBezierPathGeometry(IDirect2DFactory, Point2Float, Point2Float, Point2Float, Point2Float, FillMode)

public static IPathGeometry CreateBezierPathGeometry(this IDirect2DFactory factory, Point2Float point1, Point2Float point2, Point2Float point3, Point2Float point4, FillMode fillMode = FillMode.Alternate)

Parameters

factory IDirect2DFactory
point1 Point2Float
point2 Point2Float
point3 Point2Float
point4 Point2Float
fillMode FillMode

Returns

IPathGeometry

CreateBezierPathGeometry(IDirect2DFactory, Point2Float, in BezierSegment, FillMode)

public static IPathGeometry CreateBezierPathGeometry(this IDirect2DFactory factory, Point2Float startPoint, in BezierSegment bezier, FillMode fillMode = FillMode.Alternate)

Parameters

factory IDirect2DFactory
startPoint Point2Float
bezier BezierSegment
fillMode FillMode

Returns

IPathGeometry