AlphaTab.Rendering.Glyphs.GlyphGroup.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)
        {
            if (Glyphs == null || Glyphs.Count == 0) return;
            for (int i = 0, j = Glyphs.Count; i < j; i++)
            {
                var g = Glyphs[i];
                g.Renderer = Renderer;
                g.Paint(cx + X, cy + Y, canvas);
            }
        }