AnimatedOffset

class AnimatedOffset(initialValue: Offset = Offset.Zero, label: String = "AnimatedOffset") : AbstractMutableAnimatedValue<Offset, AnimationVector2D>

Constructors

Link copied to clipboard
constructor(initialValue: Offset = Offset.Zero, label: String = "AnimatedOffset")

Properties

Link copied to clipboard
open override var value: Offset
Link copied to clipboard
open override val velocity: Offset

Functions

Link copied to clipboard
open suspend override fun animateTo(target: Offset, spec: AnimationSpec<Offset> = spring(), initialVelocity: Offset = velocity, stopOnTargetReached: Boolean = false)