Easing.Companion


object Easing.Companion


Summary

Public functions

Easing
Cubic(
    x1: @FloatRange(from = 0.0, to = 1.0) Float,
    y1: @FloatRange(from = 0.0, to = 1.0) Float,
    x2: @FloatRange(from = 0.0, to = 1.0) Float,
    y2: @FloatRange(from = 0.0, to = 1.0) Float
)

Defines a Cubic-Bezier curve where the points P1 and P2 are at the given coordinate ratios.

Public functions

Cubic

fun Cubic(
    x1: @FloatRange(from = 0.0, to = 1.0) Float,
    y1: @FloatRange(from = 0.0, to = 1.0) Float,
    x2: @FloatRange(from = 0.0, to = 1.0) Float,
    y2: @FloatRange(from = 0.0, to = 1.0) Float
): Easing

Defines a Cubic-Bezier curve where the points P1 and P2 are at the given coordinate ratios.

Public properties

Accelerate

val Accelerate: Easing

Anticipate

val Anticipate: Easing

Decelerate

val Decelerate: Easing

Linear

val Linear: Easing

Overshoot

val Overshoot: Easing

Standard

val Standard: Easing