C# Class IronPythonConsoleControl.OutputLine

A line of output. Caches the rendering of this line for a given console width.
Afficher le fichier Open project: pterelaos/revitpythonshell Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public Append ( OutputSpan span ) : void
span OutputSpan
Résultat void

GetHeight() public méthode

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
Résultat int

OutputLine() public méthode

public OutputLine ( ) : System
Résultat System

Print() public méthode

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
Résultat void