Ajout du GUI

This commit is contained in:
thatscringebro
2022-08-08 16:31:52 -04:00
parent db362ccdca
commit abd15f28b6
851 changed files with 99957 additions and 1 deletions

27
kivy/input/shape.py Normal file
View File

@@ -0,0 +1,27 @@
'''
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 of the rect
self.width = 0
#: Height of the rect
self.height = 0