C# Class IronPythonConsoleControl.OutputLine

A line of output. Caches the rendering of this line for a given console width.
ファイルを表示 Open project: pterelaos/revitpythonshell Class Usage Examples

Public Methods

Method Description
Append ( OutputSpan span ) : void
GetHeight ( Graphics g, int Width ) : int

Given a width, returns the height of this line, including wrapped lines.

OutputLine ( ) : System
Print ( Graphics graphics, int yPosition ) : void

Draws the content of the line to the graphics at the position (0, yPosition)

Method Details

Append() public method

public Append ( OutputSpan span ) : void
span OutputSpan
return void

GetHeight() public method

Given a width, returns the height of this line, including wrapped lines.
public GetHeight ( Graphics g, int Width ) : int
g System.Drawing.Graphics
Width int
return int

OutputLine() public method

public OutputLine ( ) : System
return System

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