This repository has been archived on 2025-02-01. You can view files and clone it, but cannot push or open issues or pull requests.
PyBitmessage-2025-02-01/mockenv/lib/python3.6/site-packages/kivy/effects/__init__.py
2022-07-22 16:13:59 +05:30

24 lines
924 B
Python

'''
Effects
=======
.. versionadded:: 1.7.0
Everything starts with the :class:`~kinetic.KineticEffect`, the base class for
computing velocity out of a movement.
This base class is used to implement the :class:`~scroll.ScrollEffect`, a base
class used for our :class:`~kivy.uix.scrollview.ScrollView` widget effect.
We have multiple implementations:
- :class:`~kivy.effects.scroll.ScrollEffect`: base class used for implementing
an effect. It only calculates the scrolling and the overscroll.
- :class:`~kivy.effects.dampedscroll.DampedScrollEffect`: uses the overscroll
information to allow the user to drag more than expected. Once the user stops
the drag, the position is returned to one of the bounds.
- :class:`~kivy.effects.opacityscroll.OpacityScrollEffect`: uses the overscroll
information to reduce the opacity of the scrollview widget. When the user
stops the drag, the opacity is set back to 1.
'''