CubicBezierControlPointCalculator

An interface for computing the two control points of a cubic Bézier curve segment. The curve segment connects the current and next data points.

Functions

Link copied to clipboard
abstract fun compute(previous: Offset, current: Offset, next: Offset, subsequent: Offset): Pair<Offset, Offset>

Computes the two control points for a cubic Bézier curve segment.