..NAV
font.Font(object)__init__(font, color=(255, 255, 255))
Initialise a new Font object.font
should be one of the font constants.color
should be an RGB tuple for the color of the font.render(text) -> return pygame.Surface
Renders a string oftext
. Returns a pygame.Surface.get_width() -> return int
Returns the width of a single font char.get_height() -> return int
Returns the height of a single font char.