C# Class Sharpex2D.Rendering.OpenGL.TextEntity

Mostra file Open project: ThuCommix/Sharpex2D Class Usage Examples

Public Methods

Method Description
DrawText ( ) : void

Draws the text.

TextEntity ( string text, OpenGLFont font, Color color, int wrapWidth ) : Sharpex2D.Common.Extensions

Initializes a new TextEntity class.

Method Details

DrawText() public method

Draws the text.
public DrawText ( ) : void
return void

TextEntity() public method

Initializes a new TextEntity class.
public TextEntity ( string text, OpenGLFont font, Color color, int wrapWidth ) : Sharpex2D.Common.Extensions
text string The Text.
font OpenGLFont The Font.
color Color The Color.
wrapWidth int The Wordwrap Width.
return Sharpex2D.Common.Extensions