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.ScrollEffectDampedScrollEffect class. See the module documentation for more information.
- edge_damping¶
Edge damping.
edge_dampingis aNumericPropertyand defaults to 0.25
- min_overscroll¶
An overscroll less than this amount will be normalized to 0.
New in version 1.8.0.
min_overscrollis aNumericPropertyand defaults to .5.
- round_value¶
If True, when the motion stops,
valueis rounded to the nearest integer.New in version 1.8.0.
round_valueis aBooleanPropertyand defaults to True.
- spring_constant¶
Spring constant.
spring_constantis aNumericPropertyand defaults to 2.0