Exemplo n.º 1
0
        public void DrawBlock(Canvas canvas)
        {
            var line = CreateFractionLine();

            canvas.Children.Add(line);
            if (null != Molecule)
            {
                Molecule.DrawBlock(canvas);
            }
            if (null != Denominator)
            {
                Denominator.DrawBlock(canvas);
            }
        }