From: foamyguy Date: Sat, 14 May 2022 17:30:02 +0000 (-0500) Subject: type information X-Git-Tag: 0.10.2~2^2 X-Git-Url: https://git.ayoreis.com/hackapet/Adafruit_Blinka_Displayio.git/commitdiff_plain/706eb353a053ae8711d7cc77fa65f5db70a4103f type information --- diff --git a/displayio/_tilegrid.py b/displayio/_tilegrid.py index 35f5ac1..999ddb2 100644 --- a/displayio/_tilegrid.py +++ b/displayio/_tilegrid.py @@ -410,21 +410,21 @@ class TileGrid: self._tiles[index] = value @property - def width(self): + def width(self) -> int: """Width in tiles""" return self._width @property - def height(self): + def height(self) -> int: """Height in tiles""" return self._height @property - def tile_width(self): + def tile_width(self) -> int: """Width of each tile in pixels""" return self._tile_width @property - def tile_height(self): + def tile_height(self) -> int: """Height of each tile in pixels""" return self._tile_height