AlphaTab.Rendering.ScoreBarRenderer.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)
        {
            canvas.Color = h.Voice.Index == 0
                ? Resources.MainGlyphColor
                : Resources.SecondaryGlyphColor;

            // check if we need to paint simple footer
            if (h.Beats.Count == 1)
            {
                PaintFooter(cx, cy, canvas, h);
            }
            else
            {
                PaintBar(cx, cy, canvas, h);
            }
        }