Class VexFlowBackend Abstract Properties Protected canvascanvas: HTMLElement
Protected innerinner: HTMLElement
Protected rendererrenderer: Renderer
Methods Abstract get Contextget Context( ) : IRenderContext get Inner Element get Inner Element( ) : HTMLElement Abstract getOSMDBackend Typeget Render Element get Render Element( ) : HTMLElement Abstract get Vexflow Backend Typeget Vexflow Backend Type( ) : Backends Abstract initializeinitialize( container: HTMLElement , zoom: number ) : void Parameters container: HTMLElement zoom: number Returns void remove All Children From Container remove All Children From Container( container: HTMLElement ) : void remove From Container remove From Container( container: HTMLElement ) : void Abstract render Linerender Line( start: PointF2D , stop: PointF2D , color: string , lineWidth: number , id?: string ) : Node Parameters color: string lineWidth: number Optional id: string Returns Node Abstract render Pathrender Path( points: PointF2D [] , fill: boolean , id?: string ) : Node Parameters fill: boolean Optional id: string Returns Node Abstract render Rectanglerender Rectangle( rectangle: RectangleF2D , styleId: number , colorHex: string , alpha: number ) : Node Parameters styleId: number colorHex: string alpha: number Returns Node Abstract render Textrender Text( fontHeight: number , fontStyle: FontStyles , font: Fonts , text: string , heightInPixel: number , screenPosition: PointF2D , color?: string , fontFamily?: string ) : Node Parameters fontHeight: number text: string heightInPixel: number Optional color: string Optional fontFamily: string Returns Node resize resize( width: number , height: number ) : void Parameters width: number height: number Returns void Abstract translatetranslate( x: number , y: number ) : void Legend Constructor Property Method Accessor Inherited constructor Inherited property Inherited method Inherited accessor Protected property Protected method Protected accessor Private property Private method Static property Static method Settings Theme OS Light Dark
The GraphicalMusicPage the backend is drawing from. Each backend only renders one GraphicalMusicPage, to which the coordinates are relative.