Search
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

Array. A list of Bezier control points.

quality

Number. Specifies the approximation quality.

start

Number. Specifies the start point index.

 Return Value

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

 See Also