Package pajammin :: Package display :: Module text
[show private | hide private]
[frames | no frames]

Module pajammin.display.text

Support for rendering text.
Classes
_ShadowFont Mimicks a pygame font, but puts a shadow on text.

Function Summary
  get_font(size, shadow)
  rendertext(text, color, size, shadow)

Variable Summary
dict SIZES = {'small': 14, 'big': 28, 'medium': 18}
dict _fontcache = {}

Function Details

get_font(size, shadow=False)

rendertext(text, color=None, size='medium', shadow=False)


Variable Details

SIZES

Type:
dict
Value:
{'small': 14, 'big': 28, 'medium': 18}                                 

_fontcache

Type:
dict
Value:
{}