file: EasingInterpolator.aus

class: EasingInterpolator

[21:14] static extends: object

Helper for FXGL's EasingInterpolator interface (com.almasb.fxgl.animation.EasingInterpolator), which the Interpolators enum implements. Aussom users normally pick a curve through the existing fxgl.Interpolators wrapper (Interpolators.easeOut("EXPONENTIAL") etc.); this helper is here for the rare case where a custom easing curve needs to be supplied as an AussomJavaObject. To author a custom interpolator from Aussom, build a Java functional-interface proxy via aji.closure on com.almasb.fxgl.animation.EasingInterpolator and pass it wherever an Interpolator is accepted.

Methods