PathInterpolatorCompat

Helper for creating path-based Interpolator instances. On API 21 or newer, the platform implementation will be used and on older platforms a compatible alternative implementation will be used.

Functions

Link copied to clipboard
Create an Interpolator for an arbitrary Path.
open fun create(controlX: Float, controlY: Float): Interpolator
Create an Interpolator for a quadratic Bezier curve.
open fun create(controlX1: Float, controlY1: Float, controlX2: Float, controlY2: Float): Interpolator
Create an Interpolator for a cubic Bezier curve.