Table Of Contents
kivy.input.shape のソースコード
'''
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