transform

open override fun transform(fraction: Float): Float

Transforms the specified fraction in the range 0..1 by this cubic Bézier curve. To solve the curve, fraction is used as the x coordinate along the curve, and the corresponding y coordinate on the curve is returned. If no solution exists, this method throws an IllegalArgumentException.

Throws

If the cubic Bézier curve cannot be solved