IronPythonConsoleControl.OutputLine.Print C# (CSharp) Method

Print() public method

Draws the content of the line to the graphics at the position (0, yPosition)
public Print ( Graphics graphics, int yPosition ) : void
graphics System.Drawing.Graphics
yPosition int
return void
        public void Print(Graphics graphics, int yPosition)
        {
            var xPosition = 0;
            foreach (var span in _spans)
            {
                span.Print(graphics, xPosition, yPosition);
                xPosition += span.GetSize(graphics).Width;
            }
        }