File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -32,14 +32,14 @@ def inflate_tilegrid(
32
32
inflate a TileGrid of ``target_size`` in tiles from a 3x3 spritesheet by duplicating
33
33
the center rows and columns.
34
34
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)
37
37
:param Optional[tuple] tile_size: size of the tiles in the 3x3 spritesheet. If
38
38
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
40
40
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
43
43
"""
44
44
45
45
# pylint: disable=too-many-arguments, too-many-locals, too-many-branches
You can’t perform that action at this time.
0 commit comments