SpringAnimation

constructor(widget: <Error class: unknown class>, from: Double, to: Double, springParams: SpringParams, target: AnimationTarget)

Creates a new AdwSpringAnimation on @widget.

The animation will animate @target from @from to @to with the dynamics of a spring described by @spring_params.

Return

the newly created animation

Parameters

widget

a widget to create animation on

from

a value to animate from

to

a value to animate to

springParams

physical parameters of the spring

target

a target value to animate


constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)