class documentation

class KeyboardRotation:

Constructor: KeyboardRotation(draw)

View In Hierarchy

Rotate dialog primitives without changing the display's global state.

Method __getattr__ Undocumented
Method __init__ Undocumented
Method scale_x Scale horizontal spacing along the rotated display width.
Method scale_y Scale vertical spacing along the rotated display height.
Method touch_point Map a physical touch back into the landscape dialog.
Instance Variable size Undocumented
Method _fill_rectangle Undocumented
Method _line Undocumented
Method _rectangle Undocumented
Method _text Undocumented
Instance Variable _draw Undocumented
Instance Variable _font Undocumented
Instance Variable _tables Undocumented
def __getattr__(self, name):

Undocumented

def __init__(self, draw):

Undocumented

def scale_x(self, value, screen_width=320):

Scale horizontal spacing along the rotated display width.

def scale_y(self, value, screen_height=320):

Scale vertical spacing along the rotated display height.

def touch_point(self, x, y):

Map a physical touch back into the landscape dialog.

size =

Undocumented

def _fill_rectangle(self, x, y, width, height, color):

Undocumented

def _line(self, x1, y1, x2, y2, color):

Undocumented

def _rectangle(self, x, y, width, height, color):

Undocumented

def _text(self, x, y, text, color, font_size=None):

Undocumented

_draw =

Undocumented

_font =

Undocumented

_tables: dict =

Undocumented