module documentation
Text placement helper for Stick firmware
Function | center |
Center x of text on screen |
Function | center |
Center vertically x of text on screen |
Function | center |
Center y of text on screen |
Function | center |
Center vertically y of text on screen |
Center x of text on screen Args: text (str): Text to center width (int): Width of font Returns: int: x coordinates of text
Center vertically x of text on screen Args: text (str): Text to center width (int): Width of font Returns: int: x coordinates of text