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/input/shape.py
2022-07-22 16:13:59 +05:30

28 lines
537 B
Python

'''
Motion Event Shape
==================
Represent the shape of the :class:`~kivy.input.motionevent.MotionEvent`
'''
__all__ = ('Shape', 'ShapeRect')
class Shape(object):
'''Abstract class for all implementations of a shape'''
pass
class ShapeRect(Shape):
'''Class for the representation of a rectangle.'''
__slots__ = ('width', 'height')
def __init__(self):
super(ShapeRect, self).__init__()
#: Width fo the rect
self.width = 0
#: Height of the rect
self.height = 0