class documentation
class Font(font.Font):
Font class providing bitmap data for multiple sizes.
Methods
- get_character(
font_size - int, char: str) -> bytes: Get the bitmap data for a specific character at a given font size.
- get_character(
- get_data(
font_size - int) -> bytes: Get the bitmap data for the entire font at a given font size.
- get_data(
- get_height(
font_size - int) -> int: Get the height of the font at a given font size.
- get_height(
- get_spacing(
font_size - int) -> int: Get the spacing of the font at a given font size.
- get_spacing(
- get_width(
font_size - int) -> int: Get the width of the font at a given font size.
- get_width(