Approximates the specified Bézier curve with a polyline. The specified quality parameter varies in the interval [1, ...) and is proportional to the number of points in the resulting polyline.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
C# Copy Code |
---|
public static PointCollection ApproxBezier ( |
Visual Basic Copy Code |
---|
Public Shared Function ApproxBezier( _ |
An array of Point objects, which defines the Bézier curve.
The index of the first point to be processed in points.
The quality of the produced approximation.
An instance of the PointCollection class containing the points of the calculated approximation.
This method supports the WpfDiagram infrastructure and is not intended to be used directly from your code.
WpfDiagram Programmer's Guide | © 2024 MindFusion |