AbstractProtectedcanvasProtectedinnerProtectedrendererProtectedrulesAbstractclearAbstractfree(Try to) free memory. Currently only relevant on iOS.
AbstractgetAbstractgetAbstractgetThe general type of backend: Canvas or SVG. This is not used for now (only VexflowBackendType used), but it may be useful when we don't want to use a Vexflow class.
AbstractgetAbstractinitializeOptionalid: stringAbstractrenderOptionalisSlur: booleanOptionalstartNote: VexFlowGraphicalNoteAbstractrenderAbstractrenderOptionalid: stringOptionalcolor: stringAbstractrenderRenders a rectangle with the given style to the screen. It is given in screen coordinates.
the rect in screen coordinates
the style id
alpha value between 0 and 1
AbstractrenderRenders a text to the screen.
Optionalcolor: stringOptionalfontFamily: stringOptionallanguage: stringthe language of the text as a BCP 47 tag (e.g. "ja"), for the browser's choice of fonts (see Label.language)
AbstractscaleAbstracttranslate
The GraphicalMusicPage the backend is drawing from. Each backend only renders one GraphicalMusicPage, to which the coordinates are relative.