Quick search

Damped scroll effect

New in version 1.7.0.

This damped scroll effect will use the overscroll to calculate the scroll value, and slows going back to the upper or lower limit.

class kivy.effects.dampedscroll.DampedScrollEffect(**kwargs)[source]

Bases: kivy.effects.scroll.ScrollEffect

DampedScrollEffect class. See the module documentation for more information.


Edge damping.

edge_damping is a NumericProperty and defaults to 0.25


An overscroll less than this amount will be normalized to 0.

New in version 1.8.0.

min_overscroll is a NumericProperty and defaults to .5.


If True, when the motion stops, value is rounded to the nearest integer.

New in version 1.8.0.

round_value is a BooleanProperty and defaults to True.


Spring constant.

spring_constant is a NumericProperty and defaults to 2.0


(internal) Update the velocity according to the frametime and friction.