TriEngine  v0.0.16
General-purpose engine in C#/OpenGL
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events
TriDevs.TriEngine.Text.ITextObject Interface Reference

Implements methods to construct a text object and render it to screen. More...

Inheritance diagram for TriDevs.TriEngine.Text.ITextObject:
[legend]

Public Member Functions

void Draw ()
 Draws this text object to screen with default parameters. More...
 
void Draw (Point< int > position)
 Draws this text object to a specific position on the screen specified by the supplied Point struct. More...
 
void Draw (int x, int y)
 Draws this text oject to screen at the specified X/Y position. More...
 

Properties

Font Font [get]
 Gets the Font font instance associated with this text object. More...
 
string Text [get, set]
 Gets or sets the text value of this text object. More...
 
Color Color [get, set]
 Gets or sets the color of the text. More...
 
Point< int > Position [get, set]
 Gets or sets the screen position of this text, in pixels. More...
 
Rectangle Bounds [get]
 Gets the bounds of this text object. More...
 
QFontAlignment Alignment [get, set]
 Gets or sets a QFontAlignment value to manage how this text is aligned on screen. More...
 

Detailed Description

Implements methods to construct a text object and render it to screen.

Member Function Documentation

void TriDevs.TriEngine.Text.ITextObject.Draw ( )

Draws this text object to screen with default parameters.

Implemented in TriDevs.TriEngine.Text.TextObject.

void TriDevs.TriEngine.Text.ITextObject.Draw ( Point< int >  position)

Draws this text object to a specific position on the screen specified by the supplied Point struct.

Parameters
positionPoint class with X/Y coordinates.

Implemented in TriDevs.TriEngine.Text.TextObject.

void TriDevs.TriEngine.Text.ITextObject.Draw ( int  x,
int  y 
)

Draws this text oject to screen at the specified X/Y position.

Parameters
x
y

Implemented in TriDevs.TriEngine.Text.TextObject.

Property Documentation

QFontAlignment TriDevs.TriEngine.Text.ITextObject.Alignment
getset

Gets or sets a QFontAlignment value to manage how this text is aligned on screen.

Rectangle TriDevs.TriEngine.Text.ITextObject.Bounds
get

Gets the bounds of this text object.

Color TriDevs.TriEngine.Text.ITextObject.Color
getset

Gets or sets the color of the text.

Font TriDevs.TriEngine.Text.ITextObject.Font
get

Gets the Font font instance associated with this text object.

Point<int> TriDevs.TriEngine.Text.ITextObject.Position
getset

Gets or sets the screen position of this text, in pixels.

string TriDevs.TriEngine.Text.ITextObject.Text
getset

Gets or sets the text value of this text object.


The documentation for this interface was generated from the following file: