1 # SPDX-FileCopyrightText: 2020 Melissa LeBlanc-Williams for Adafruit Industries
3 # SPDX-License-Identifier: MIT
8 ================================================================================
12 **Software and Dependencies:**
15 https://github.com/adafruit/Adafruit_Blinka/releases
17 * Author(s): Melissa LeBlanc-Williams
21 from ._bitmap import Bitmap
23 __version__ = "0.0.0+auto.0"
24 __repo__ = "https://github.com/adafruit/Adafruit_Blinka_displayio.git"
28 """Create a Shape object with the given fixed size. Each pixel is one bit and is stored
29 by the column boundaries of the shape on each row. Each row’s boundary defaults to the
34 self, width: int, height: int, *, mirror_x: bool = False, mirror_y: bool = False
36 # pylint: disable=unused-argument
37 """Create a Shape object with the given fixed size. Each pixel is one bit and is
38 stored by the column boundaries of the shape on each row. Each row’s boundary
39 defaults to the full row.
41 super().__init__(width, height, 2)
43 def set_boundary(self, y: int, start_x: int, end_x: int) -> None:
44 # pylint: disable=unnecessary-pass
45 """Loads pre-packed data into the given row."""