MindFusion.Charting for JavaScript Programmer's Guide
DrawingUtils.approximateBezier Method
See Also
Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: None Language Filter: C# Language Filter: Visual Basic Language Filter: Java Language Filter: JavaScript Language Filter: C++ Language Filter: XAML

C#
Visual Basic
Java
JavaScript
C++
XAML

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