Text¶
- class maelzel.core.symbols.Text(text, placement='above', fontsize=None, italic=False, weight='normal', box='', color='', fontfamily='', force=False)[source]¶
Bases:
EventSymbolA note attached text expression
- Parameters:
text (
str) – the textplacement – ‘above’, ‘below’ or None to leave it undetermined
fontsize (
Optional[float]) – the size of the text. The actual resulting size will depend on the backend usedweight – one of ‘normal’, ‘bold’
italic – should this text be italic?
color – a valid css color
box – one of ‘square’, ‘rectangle’, ‘circle’ or ‘’ to disable
force – force the text to be displayed even if the event is tied
Attributes Summary
Only one of a given class
Methods Summary
Attributes Documentation
- appliesToRests = True¶
- exclusive = False¶
Only one of a given class
Methods Documentation