Skip to main content

Module style

Module style 

Source
Expand description

How an object is drawn: music21’s style objects. How an object is drawn: music21’s style objects, as far as the crate keeps them.

A TextStyle says where a piece of text stands, in what font and colour, and how it is aligned and justified, as MusicXML’s print-style, alignment and justify attributes say it.

Structs§

TextStyle
Where a piece of text stands and how it is drawn: music21’s TextStyle, the part of it MusicXML’s print style, alignment and justification say.

Enums§

StyleValue
A value of a style as music21 keeps the attribute it read: a whole number where the text is one, to within a millionth, a number with a fraction where it is that, and the text itself where it is no number – music21’s numToIntOrFloat, which a MusicXML font size written as a CSS size, medium, passes over.