AlphaTab.Rendering.Glyphs.VoiceContainerGlyph.Paint C# (CSharp) Method

Paint() public method

public Paint ( float cx, float cy, ICanvas canvas ) : void
cx float
cy float
canvas ICanvas
return void
        public override void Paint(float cx, float cy, ICanvas canvas)
        {
            //canvas.Color = new Color((byte)Std.Random(255), (byte)Std.Random(255), (byte)Std.Random(255), 80);
            //canvas.FillRect(cx + X, cy + Y, Width, 100);

            //if (Voice.Index == 0)
            //{
            //    PaintSprings(cx + X, cy + Y, canvas);
            //}

            for (int i = 0, j = BeatGlyphs.Count; i < j; i++)
            {
                BeatGlyphs[i].Paint(cx + X, cy + Y, canvas);
            }
        }