newFull

fun newFull(damping: Double, mass: Double, stiffness: Double): SpringParams

Creates a new AdwSpringParams from @mass, @stiffness and @damping.

See ctor@SpringParams.new for a simplified constructor using damping ratio instead of @damping.

Return

the newly created spring parameters

Parameters

damping

the damping of the spring

mass

the mass of the spring

stiffness

the stiffness of the spring