Represents any shape made by defining boundaries that may be mirrored.
Shape(width, height, *, mirror_x=False, mirror_y=False)¶
Create a Shape object with the given fixed size. Each pixel is one bit and is stored by the column boundaries of the shape on each row. Each row’s boundary defaults to the full row.
set_boundary(y, start_x, end_x)¶
Loads pre-packed data into the given row.