Companion

object Companion

Functions

Link copied to clipboard
fun new(dampingRatio: Double, mass: Double, stiffness: Double): SpringParams

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

Link copied to clipboard
fun newFull(damping: Double, mass: Double, stiffness: Double): SpringParams

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

Link copied to clipboard
open fun wrapRecordPointer(pointer: <Error class: unknown class><out <Error class: unknown class>>): SpringParams