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