AlphaTab.Rendering.RhythmBarRenderer.PaintBeamHelper C# (CSharp) Метод

PaintBeamHelper() приватный Метод

private PaintBeamHelper ( float cx, float cy, ICanvas canvas, BeamingHelper h ) : void
cx float
cy float
canvas ICanvas
h AlphaTab.Rendering.Utils.BeamingHelper
Результат void
        private void PaintBeamHelper(float cx, float cy, ICanvas canvas, BeamingHelper h)
        {
            if (h.Beats[0].GraceType != GraceType.None) return;
            var useBeams = Staff.GetSetting("use-beams", false);
            // check if we need to paint simple footer
            if (useBeams && h.Beats.Count == 1)
            {
                PaintFooter(cx, cy, canvas, h);
            }
            else
            {
                PaintBar(cx, cy, canvas, h);
            }
        }