Source set: Android
public class RemoteEasing internal constructor(internal val type: Int, internal val spec: FloatArray? = null)
Defines the easing curve used for Remote Compose animations.
Functions
equals
Source set: Android
override fun equals(other: Any?): Boolean
hashCode
Source set: Android
override fun hashCode(): Int
toString
Source set: Android
override fun toString(): String
Members
Companion
Source set: Android
public companion object
Properties
Standard
Source set: Android
public val Standard: RemoteEasing = RemoteEasing(CUBIC_STANDARD)
Linear
Source set: Android
public val Linear: RemoteEasing = RemoteEasing(CUBIC_LINEAR)
Accelerate
Source set: Android
public val Accelerate: RemoteEasing = RemoteEasing(CUBIC_ACCELERATE)
Decelerate
Source set: Android
public val Decelerate: RemoteEasing = RemoteEasing(CUBIC_DECELERATE)
Anticipate
Source set: Android
public val Anticipate: RemoteEasing = RemoteEasing(CUBIC_ANTICIPATE)
Overshoot
Source set: Android
public val Overshoot: RemoteEasing = RemoteEasing(CUBIC_OVERSHOOT)
Bounce
Source set: Android
public val Bounce: RemoteEasing = RemoteEasing(EASE_OUT_BOUNCE)
Elastic
Source set: Android
public val Elastic: RemoteEasing = RemoteEasing(EASE_OUT_ELASTIC)
Functions
Cubic
Source set: Android
public fun Cubic(x1: Float, y1: Float, x2: Float, y2: Float): RemoteEasing
Spline
Source set: Android
public fun Spline(points: FloatArray): RemoteEasing