Table of Contents

Method CreateBeziersPathGeometry

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

CreateBeziersPathGeometry(IDirect2DFactory, ReadOnlySpan<Point2Float>, FillMode)

public static IPathGeometry CreateBeziersPathGeometry(this IDirect2DFactory factory, ReadOnlySpan<Point2Float> points, FillMode fillMode = FillMode.Alternate)

Parameters

factory IDirect2DFactory
points ReadOnlySpan<Point2Float>
fillMode FillMode

Returns

IPathGeometry

CreateBeziersPathGeometry(IDirect2DFactory, Point2Float, ReadOnlySpan<BezierSegment>, FillMode)

public static IPathGeometry CreateBeziersPathGeometry(this IDirect2DFactory factory, Point2Float startPoint, ReadOnlySpan<BezierSegment> beziers, FillMode fillMode = FillMode.Alternate)

Parameters

factory IDirect2DFactory
startPoint Point2Float
beziers ReadOnlySpan<BezierSegment>
fillMode FillMode

Returns

IPathGeometry