SpringParams.full


Description:

[ CCode ( has_construct_function = false ) ]
public SpringParams.full (double damping, double mass, double stiffness)

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

See [[email protected]] for a simplified constructor using damping ratio instead of damping.

Parameters:

damping

the damping of the spring

mass

the mass of the spring

stiffness

the stiffness of the spring

Returns:

the newly created spring parameters




2022 vala-language.org