8000 Merge remote-tracking branch 'origin/main' into main · domdfcoding/circuitpython@c4b7530 · GitHub
[go: up one dir, main page]

Skip to content

Commit c4b7530

Browse files
committed
Merge remote-tracking branch 'origin/main' into main
2 parents 4421270 + 9797665 commit c4b7530

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shared-bindings/displayio/TileGrid.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,14 @@
4848
//|
4949
//| A single tile grid is also known as a Sprite."""
5050
//|
51-
//| def __init__(self, bitmap: Bitmap, *, pixel_shader: Union[ColorConverter, Palette], width: int = 1, height: int = 1, tile_width: Optional[int] = None, tile_height: Optional[int] = None, default_tile: int = 0, x: int = 0, y: int = 0) -> None:
51+
//| def __init__(self, bitmap: Union[Bitmap, Shape], *, pixel_shader: Union[ColorConverter, Palette], width: int = 1, height: int = 1, tile_width: Optional[int] = None, tile_height: Optional[int] = None, default_tile: int = 0, x: int = 0, y: int = 0) -> None:
5252
//| """Create a TileGrid object. The bitmap is source for 2d pixels. The pixel_shader is used to
5353
//| convert the value and its location to a display native pixel color. This may be a simple color
5454
//| palette lookup, a gradient, a pattern or a color transformer.
5555
//|
5656
//| tile_width and tile_height match the height of the bitmap by default.
5757
//|
58-
//| :param Bitmap bitmap: The bitmap storing one or more tiles.
58+
//| :param Bitmap,Shape bitmap: The bitmap storing one or more tiles.
5959
//| :param ColorConverter,Palette pixel_shader: The pixel shader that produces colors from values
6060
//| :param int width: Width of the grid in tiles.
6161
//| :param int height: Height of the grid in tiles.

0 commit comments

Comments
 (0)
0