Static
AccidentalStatic
AnnotationStatic
AnnotationStatic
AnnotationStatic
ArticulationStatic
BarStatic
BarlineStatic
BarlineStatic
BeamStatic
BendStatic
BoundingStatic
BoundingStatic
CanvasStatic
ChordStatic
ChordStatic
ChordStatic
ClefStatic
ClefStatic
CrescendoStatic
CurveStatic
CurveStatic
DotStatic
EasyStatic
ElementStatic
FactoryStatic
FontStatic
FontStatic
FontStatic
FormatterStatic
FractionStatic
FretStatic
GhostStatic
GlyphStatic
GlyphStatic
GraceStatic
GraceStatic
GraceStatic
KeyStatic
KeyStatic
KeyStatic
ModifierStatic
ModifierStatic
ModifierStatic
MultiStatic
MusicStatic
NoteStatic
NoteStatic
NoteStatic
OrnamentStatic
ParenthesisStatic
ParserStatic
PedalStatic
RegistryStatic
RenderStatic
RendererStatic
RendererStatic
RendererStatic
RepeatStatic
RepetitionStatic
SVGContextStatic
StaveStatic
StaveStatic
StaveStatic
StaveStatic
StaveStatic
StaveStatic
StaveStatic
StaveStatic
StaveStatic
StaveStatic
StemStatic
StringStatic
StrokeStatic
SymbolStatic
SymbolStatic
SystemStatic
TabStatic
TabStatic
TabStatic
TabStatic
TextStatic
TextStatic
TextStatic
TextStatic
TextStatic
TextStatic
TickStatic
TimeStatic
TimeStatic
TremoloStatic
TuningStatic
TupletStatic
VibratoStatic
VibratoStatic
VoiceStatic
VoiceStatic
VoltaStatic
VoltaStatic
BUILDgit commit ID that this library was built from.
version number.
Static
NOTATION_Static
RENDER_Static
RESOLUTIONStatic
SLASH_Static
SOFTMAX_Static
STAVE_Static
STAVE_Static
STEM_Static
STEM_Static
TABLATURE_Static
TIME4_Static
accidentalStatic
unicodeStatic
clefStatic
durationStatic
fetchUsed with vexflow-core which supports dynamic font loading.
Optional
fontModuleOrPath: string | FontModuleStatic
getStatic
getStatic
getStatic
hasStatic
keyStatic
keyStatic
setExamples:
Vex.Flow.setMusicFont('Petaluma');
Vex.Flow.setMusicFont('Bravura', 'Gonville');
CASE 1: You are using vexflow.js
, which includes all music fonts (Bravura, Gonville, Petaluma, Custom).
In this case, calling this method is optional, since VexFlow already defaults to a music font stack of:
'Bravura', 'Gonville', 'Custom'.
CASE 2: You are using vexflow-bravura.js
or vexflow-petaluma.js
or vexflow-gonville.js
,
which includes a single music font. Calling this method is unnecessary.
CASE 3: You are using the light weight vexflow-core.js
to take advantage of lazy loading for fonts.
In this case, the default music font stack is empty.
Example:
await Vex.Flow.fetchMusicFont('Petaluma');
Vex.Flow.setMusicFont('Petaluma');
... (do VexFlow stuff) ...
See demos/fonts/
for more examples.
Rest
...fontNames: string[]an array of Font objects corresponding to the provided fontNames
.
The date when this library was compiled.