Implements methods to construct a text object and render it to screen.
More...
|
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...
|
|
|
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...
|
|
Implements methods to construct a text object and render it to screen.
void TriDevs.TriEngine.Text.ITextObject.Draw |
( |
| ) |
|
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
-
position | Point class with X/Y coordinates. |
Implemented in TriDevs.TriEngine.Text.TextObject.
void TriDevs.TriEngine.Text.ITextObject.Draw |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
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: