public override BarRendererBase Create(ScoreRenderer renderer, Bar bar, StaveSettings staveSettings) { var tabBarRenderer = new TabBarRenderer(renderer, bar); tabBarRenderer.RenderRhythm = staveSettings.Get("rhythm", tabBarRenderer.RenderRhythm); tabBarRenderer.RhythmHeight = staveSettings.Get("rhythm-height", tabBarRenderer.RhythmHeight); tabBarRenderer.RhythmBeams = staveSettings.Get("rhythm-beams", tabBarRenderer.RhythmBeams); return(tabBarRenderer); }
public override BarRendererBase Create(ScoreRenderer renderer, Bar bar, StaveSettings staveSettings) { var tabBarRenderer = new TabBarRenderer(renderer, bar); tabBarRenderer.ShowRests = _showRests; tabBarRenderer.ShowTimeSignature = _showTimeSignature; tabBarRenderer.ShowTiedNotes = _showTiedNotes; tabBarRenderer.RenderRhythm = staveSettings.Get("rhythm", tabBarRenderer.RenderRhythm); tabBarRenderer.RhythmHeight = staveSettings.Get("rhythmHeight", tabBarRenderer.RhythmHeight); tabBarRenderer.RhythmBeams = staveSettings.Get("rhythmBeams", tabBarRenderer.RhythmBeams); return(tabBarRenderer); }