Orientation#

class tqec.utils.Orientation(*values)[source]#

Bases: Enum

Either horizontal or vertical orientation.

Methods

flip()

Flip self, returning the opposite orientation.

Attributes

HORIZONTAL

VERTICAL

Detailed methods

flip()[source]#

Flip self, returning the opposite orientation.

Return type:

Orientation