]> Repositories - hackapet/Adafruit_Blinka_Displayio.git/blobdiff - displayio/_tilegrid.py
type information
[hackapet/Adafruit_Blinka_Displayio.git] / displayio / _tilegrid.py
index 35f5ac14ae48ee24e5a9ead38497630333347a60..999ddb225316fe993ae1ed6b527b3efeb5d877a3 100644 (file)
@@ -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