MindFusion.Wpf Pack Programmer's Guide
InternalUtils.ApproxBezier Method
See Also
 





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

 Syntax

C#  Copy Code

public static PointCollection ApproxBezier (
    Point[] points,
    int startIdx,
    int quality
)

Visual Basic  Copy Code

Public Shared Function ApproxBezier( _
    points() As Point, _
    startIdx As Integer, _
    quality As Integer _
) As PointCollection

 Parameters

points

An array of Point objects, which defines the Bézier curve.

startIdx

The index of the first point to be processed in points.

quality

The quality of the produced approximation.

 Return Value

An instance of the PointCollection class containing the points of the calculated approximation.

 Remarks

This method supports the Diagramming for WPF infrastructure and is not intended to be used directly from your code.

 See Also

InternalUtils Members
InternalUtils Class
MindFusion.Diagramming.Wpf Namespace