Damped scroll effect¶
Module: kivy.effects.dampedscroll
Added in バージョン 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)[ソース]¶Added in バージョン 1.7.0 で追加 ベースクラス:
kivy.effects.scroll.ScrollEffect
DampedScrollEffect class. See the module documentation for more information.
-
edge_damping
¶Added in バージョン 1.7.0 で追加 Edge damping.
edge_damping
is aNumericProperty
and defaults to 0.25
-
min_overscroll
¶Added in バージョン 1.8.0 で追加 An overscroll less than this amount will be normalized to 0.
min_overscroll
is aNumericProperty
and defaults to .5.
-
round_value
¶Added in バージョン 1.8.0 で追加 If True, when the motion stops,
value
is rounded to the nearest integer.round_value
is aBooleanProperty
and defaults to True.
-
spring_constant
¶Added in バージョン 1.7.0 で追加 Spring constant.
spring_constant
is aNumericProperty
and defaults to 2.0
-