Draw bounding boxes aroung GraphicalObjects
Bounding Box that is used as a staring point to recursively go through all child elements
Layer to draw to
Type of element to show bounding boxes for as string.
Draws a continuous dynamic expression (wedges) to the canvas
GraphicalContinuousDynamicExpression to be drawn
Draw all dashes to the canvas
Array of lyric dashes to be drawn
Draws an instantaneous dynamic expression (p, pp, f, ff, ...) to the canvas
GraphicalInstantaneousDynamicExpression to be drawn
Generated using TypeDoc
Draw a GraphicalMusicSheet (through the .drawSheet method)
The drawing is implemented with a top-down approach, starting from a music sheet, going through pages, systems, staffs... ... and ending in notes, beams, accidentals and other symbols. It's worth to say, that this class just draws the symbols and graphical elements, using the positions that have been computed before. But in any case, some of these previous positioning algorithms need the sizes of the concrete symbols (NoteHeads, sharps, flats, keys...). Therefore, there are some static functions on the 'Bounding Boxes' section used to compute these symbol boxes at the beginning for the later use in positioning algorithms.
This class also includes the resizing and positioning of the symbols due to user interaction like zooming or panning.