create
Create an Interpolator for an arbitrary Path. The Path must begin at (0, 0) and end at (1, 1). The x-coordinate along the Path is the input value and the output is the y coordinate of the line at that point. This means that the Path must conform to a function y = f(x).
Return
the Interpolator representing the Path
Parameters
the Path to use to make the line representing the Interpolator
Create an Interpolator for a quadratic Bezier curve. The end points (0, 0) and (1, 1) are assumed.
Return
the Interpolator representing the quadratic Bezier curve
Parameters
the x coordinate of the quadratic Bezier control point
the y coordinate of the quadratic Bezier control point
Create an Interpolator for a cubic Bezier curve. The end points (0, 0) and (1, 1) are assumed.
Return
the Interpolator representing the cubic Bezier curve
Parameters
the x coordinate of the first control point of the cubic Bezier
the y coordinate of the first control point of the cubic Bezier
the x coordinate of the second control point of the cubic Bezier
the y coordinate of the second control point of the cubic Bezier