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§
- Stream
Style - How a whole score is drawn, past what its layouts say: music21’s
StreamStyle, the part MusicXML’s<defaults>writes. - Text
Style - 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§
- Style
Value - 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.
Constants§
- CSS_
COLORS - The CSS3 colour names and their hex values, sorted by name: the table
music21 reads a colour name out of, through
webcolors.
Functions§
- css_
color_ hex - The hex value of a CSS3 colour name, as
#FF0000forred, whatever case the name is written in;Nonefor a name CSS does not have.