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 AccelerateEasing

Anticipate

val AnticipateEasing

Decelerate

val DecelerateEasing

Linear

val LinearEasing

Overshoot

val OvershootEasing

Standard

val StandardEasing