File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,14 +32,14 @@ def inflate_tilegrid(
3232 inflate a TileGrid of ``target_size`` in tiles from a 3x3 spritesheet by duplicating
3333 the center rows and columns.
3434
35- :param string bmp_path: filepath to the 3x3 spritesheet bitmap file
36- :param tuple target_size: desired size in tiles (target_width, target_height)
35+ :param Optional[str] bmp_path: filepath to the 3x3 spritesheet bitmap file
36+ :param Optional[ tuple] target_size: desired size in tiles (target_width, target_height)
3737 :param Optional[tuple] tile_size: size of the tiles in the 3x3 spritesheet. If
3838 None is used it will equally divide the width and height of the Bitmap by 3.
39- :param Union[tuple, int] transparent_index: a single index within the palette to
39+ :param Optional[ Union[tuple, int] ] transparent_index: a single index within the palette to
4040 make transparent, or a tuple of multiple indexes to make transparent
41- :param OnDiskBitmap bmp_obj: Already loaded 3x3 spritesheet in an OnDiskBitmap
42- :param Palette bmp_palette: Already loaded spritesheet Palette
41+ :param Optional[ OnDiskBitmap] bmp_obj: Already loaded 3x3 spritesheet in an OnDiskBitmap
42+ :param Optional[ Palette] bmp_palette: Already loaded spritesheet Palette
4343 """
4444
4545 # pylint: disable=too-many-arguments, too-many-locals, too-many-branches
You can’t perform that action at this time.
0 commit comments