bezier library

bezier.dart is a simple open-source library for handling 2D Bézier curve math.

The library was developed, documented, and published by Aaron Barrett and Isaac Barrett. It is based heavily on the work of Pomax, including his excellent Primer on Bézier Curves and his original JavaScript library, Bezier.js.

Classes

Bezier
Abstract base class of Bézier curves.
BezierSlice
Class wrapping a Bezier instance and the parameter values for the start and end points of the instance in a parent Bezier instance.
CubicBezier
Concrete class of cubic Bézier curves.
EvenSpacer
Class for calculating parameter values of points in a Bezier evenly spaced along its arc length.
Intersection
Describes intersections between two Bézier curves.
QuadraticBezier
Concrete class of quadratic Bézier curves.