Professional Documents
Culture Documents
pygame provides no way to directly draw text on an existing Surface: instead you must use
Font. render() to create an image (Surface) of the text, then blit this image onto another
Surface. The text can only be a single line: newline characters are not rendered.
render(...)
class Font(builtins.object)