Search
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
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

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

Visual Basic  Copy Code

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

 Parameters

points

An array of PointF 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 NetDiagram infrastructure and is not intended to be used directly from your code.

 See Also