Overview Scripts tileedit | leveledit | tganew | levelfancy Reference algo | ani | engine | fonts | high | html | layout | text | timer | vid Tutorials 1 | 2 | 3 | 4 | 5 GUI Ref. theme | style | widget | surface | const Containers container | app | table | document | area Forms form | group Widgets basic | button | input | keysym | slider | select | misc Other menus | dialog Tutorials 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
text
A collection of text rendering functions
write
Write text to a surface with a black border
writec
Write centered text to a surface with a black border
writepre
Write preformatted text on a pygame surface
writewrap
Write wrapped text on a pygame surface.
maxlines -- specifies the maximum number of lines to write
before stopping
wrapchar -- whether to wrap at the character level, or
word level
|