C# Class IronPythonConsoleControl.OutputSpan

Maintains the content and visual representation of a piece of chunk of text. For wraping, this text must be splittable, by character count.
Show file Open project: pterelaos/revitpythonshell Class Usage Examples

Public Methods

Method Description
GetSize ( Graphics g ) : Size
OutputSpan ( string text, Font font ) : System
Print ( Graphics graphics, int xPosition, int yPosition ) : void

Prints a span to the graphics, at the position (xPosition, yPosition)

Method Details

GetSize() public method

public GetSize ( Graphics g ) : Size
g System.Drawing.Graphics
return System.Drawing.Size

OutputSpan() public method

public OutputSpan ( string text, Font font ) : System
text string
font System.Drawing.Font
return System

Print() public method

Prints a span to the graphics, at the position (xPosition, yPosition)
public Print ( Graphics graphics, int xPosition, int yPosition ) : void
graphics System.Drawing.Graphics
xPosition int
yPosition int
return void