Approximates a Bezier curve with the given quality and by a series of line segments.
Namespace: MindFusion.Drawing
Package: DrawingUtils.js
JavaScript Copy Code |
---|
function approximateBezier (points, quality, start) |
Array. A list of Bezier control points.
Number. Specifies the approximation quality.
Number. Specifies the start point index.
Array. A list of points that approximate the curve as a series of straight line segments.