Skip to content

displayio.Group rotation and flipping #1705

@deshipu

Description

@deshipu

It would be nice to be able to rotate the Group in 90° increments, and to be able to mirror and vertically flip it. One way of implementing it would be adding an orientation attribute, with eight possible values. One bit would control horizontal flip, one bit — vertical, and last bit would control swapping of the x and y coordinates (diagonal flip). This way we can have all possible orientations.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions