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 displayio.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
33 def __init__(self, width, height, *, mirror_x=False, mirror_y=False):
34 # pylint: disable=unused-argument
35 """Create a Shape object with the given fixed size. Each pixel is one bit and is
36 stored by the column boundaries of the shape on each row. Each row’s boundary
37 defaults to the full row.
39 super().__init__(width, height, 2)
41 def set_boundary(self, y, start_x, end_x):
42 # pylint: disable=unnecessary-pass
43 """Loads pre-packed data into the given row."""