BezierPathBuilder class

BezierPathBuilder class

The BezierPathBuilder class is responsible for constructing a Bezier path from a given set of points. It approximates a trace of points with a Bezier curve, optimizing the number of segments to closely match the original trace while minimizing complexity.

The BezierPathBuilder type exposes the following members:

Constructors

ConstructorDescription
initInitializes a new instance of the BezierPathBuilder class.

Properties

PropertyDescription
error_thresholdGets or sets the error threshold.
This parameter defines maximum deviation of points to fitted curve.
By default it is 30.
max_iterationsGets or sets the error threshold.
This parameter defines number of iteration for least-squares approximation method.
By default it is 30.
trace_smootherGets or sets the trace smoother.

Methods

MethodDescription
build

See Also