MindFusion.Charting for JavaScript Programmer's Guide
DrawingUtils.approximateBezier Method
See Also
 






Approximates a Bezier curve with the given quality and by a series of line segments.

Namespace: MindFusion.Drawing
File: DrawingUtils.js

 Syntax

JavaScript  Copy Code

function approximateBezier (points, quality, start)

 Parameters

points

Type: Array
Array. A list of Bezier control points.

quality

Type: Number
Number. Specifies the approximation quality.

start

Type: Number
Number. Specifies the start point index.

 Return Value

Type: Array
Array. A list of points that approximate the curve as a series of straight line segments.

 See Also

DrawingUtils Members
DrawingUtils Class
MindFusion.Drawing Namespace