Microsoft.Samples.DirectX.UtilityToolkit.TextHelper Struct Reference
Manages the intertion point when drawing text.
More...
List of all members.
|
Public Member Functions |
| | TextHelper (Font f, Sprite s, int l) |
| | Create a new instance of the text helper class.
|
| void | DrawTextLine (string text) |
| | Draw a line of text.
|
| void | DrawTextLine (string text, params object[] args) |
| | Draw a line of text.
|
| void | SetInsertionPoint (System.Drawing.Point p) |
| | Insertion point of the text.
|
| void | SetInsertionPoint (int x, int y) |
| void | SetForegroundColor (int c) |
| | The color of the text.
|
| void | SetForegroundColor (System.Drawing.Color c) |
| void | Begin () |
| | Begin the sprite rendering.
|
| void | End () |
| | End the sprite.
|
| | TextHelper (Font f, Sprite s, int l) |
| | Create a new instance of the text helper class.
|
| void | DrawTextLine (string text) |
| | Draw a line of text.
|
| void | DrawTextLine (string text, params object[] args) |
| | Draw a line of text.
|
| void | SetInsertionPoint (System.Drawing.Point p) |
| | Insertion point of the text.
|
| void | SetInsertionPoint (int x, int y) |
| void | SetForegroundColor (int c) |
| | The color of the text.
|
| void | SetForegroundColor (System.Drawing.Color c) |
| void | Begin () |
| | Begin the sprite rendering.
|
| void | End () |
| | End the sprite.
|
| | TextHelper (Font f, Sprite s, int l) |
| | Create a new instance of the text helper class.
|
| void | DrawStringLine (string text) |
| | Draw a line of text.
|
| void | DrawStringLine (string text, params object[] args) |
| | Draw a line of text.
|
| void | SetInsertionPoint (System.Drawing.Point p) |
| | Insertion point of the text.
|
| void | SetInsertionPoint (int x, int y) |
| void | SetForegroundColor (int c) |
| | The color of the text.
|
| void | SetForegroundColor (System.Drawing.Color c) |
| void | Begin () |
| | Begin the sprite rendering.
|
| void | End () |
| | End the sprite.
|
Detailed Description
Manages the intertion point when drawing text.
Definition at line 1873 of file dxmutmisc.cs.
Constructor & Destructor Documentation
| Microsoft.Samples.DirectX.UtilityToolkit.TextHelper.TextHelper |
( |
Font |
f, |
|
|
Sprite |
s, |
|
|
int |
l | |
|
) |
| | |
Create a new instance of the text helper class.
Definition at line 1884 of file dxmutmisc.cs.
| Microsoft.Samples.DirectX.UtilityToolkit.TextHelper.TextHelper |
( |
Font |
f, |
|
|
Sprite |
s, |
|
|
int |
l | |
|
) |
| | |
Create a new instance of the text helper class.
Definition at line 1884 of file dxmutmisc.cs.
| Microsoft.Samples.DirectX.UtilityToolkit.TextHelper.TextHelper |
( |
Font |
f, |
|
|
Sprite |
s, |
|
|
int |
l | |
|
) |
| | |
Create a new instance of the text helper class.
Definition at line 1877 of file wdxmutmisc.cs.
Member Function Documentation
| void Microsoft.Samples.DirectX.UtilityToolkit.TextHelper.Begin |
( |
|
) |
|
| void Microsoft.Samples.DirectX.UtilityToolkit.TextHelper.Begin |
( |
|
) |
|
| void Microsoft.Samples.DirectX.UtilityToolkit.TextHelper.Begin |
( |
|
) |
|
| void Microsoft.Samples.DirectX.UtilityToolkit.TextHelper.DrawStringLine |
( |
string |
text, |
|
|
params object[] |
args | |
|
) |
| | |
| void Microsoft.Samples.DirectX.UtilityToolkit.TextHelper.DrawStringLine |
( |
string |
text |
) |
|
| void Microsoft.Samples.DirectX.UtilityToolkit.TextHelper.DrawTextLine |
( |
string |
text, |
|
|
params object[] |
args | |
|
) |
| | |
| void Microsoft.Samples.DirectX.UtilityToolkit.TextHelper.DrawTextLine |
( |
string |
text |
) |
|
| void Microsoft.Samples.DirectX.UtilityToolkit.TextHelper.DrawTextLine |
( |
string |
text, |
|
|
params object[] |
args | |
|
) |
| | |
| void Microsoft.Samples.DirectX.UtilityToolkit.TextHelper.DrawTextLine |
( |
string |
text |
) |
|
| void Microsoft.Samples.DirectX.UtilityToolkit.TextHelper.End |
( |
|
) |
|
| void Microsoft.Samples.DirectX.UtilityToolkit.TextHelper.End |
( |
|
) |
|
| void Microsoft.Samples.DirectX.UtilityToolkit.TextHelper.End |
( |
|
) |
|
| void Microsoft.Samples.DirectX.UtilityToolkit.TextHelper.SetForegroundColor |
( |
System.Drawing.Color |
c |
) |
|
| void Microsoft.Samples.DirectX.UtilityToolkit.TextHelper.SetForegroundColor |
( |
int |
c |
) |
|
| void Microsoft.Samples.DirectX.UtilityToolkit.TextHelper.SetForegroundColor |
( |
System.Drawing.Color |
c |
) |
|
| void Microsoft.Samples.DirectX.UtilityToolkit.TextHelper.SetForegroundColor |
( |
int |
c |
) |
|
| void Microsoft.Samples.DirectX.UtilityToolkit.TextHelper.SetForegroundColor |
( |
System.Drawing.Color |
c |
) |
|
| void Microsoft.Samples.DirectX.UtilityToolkit.TextHelper.SetForegroundColor |
( |
int |
c |
) |
|
| void Microsoft.Samples.DirectX.UtilityToolkit.TextHelper.SetInsertionPoint |
( |
int |
x, |
|
|
int |
y | |
|
) |
| | |
| void Microsoft.Samples.DirectX.UtilityToolkit.TextHelper.SetInsertionPoint |
( |
System.Drawing.Point |
p |
) |
|
| void Microsoft.Samples.DirectX.UtilityToolkit.TextHelper.SetInsertionPoint |
( |
int |
x, |
|
|
int |
y | |
|
) |
| | |
| void Microsoft.Samples.DirectX.UtilityToolkit.TextHelper.SetInsertionPoint |
( |
System.Drawing.Point |
p |
) |
|
| void Microsoft.Samples.DirectX.UtilityToolkit.TextHelper.SetInsertionPoint |
( |
int |
x, |
|
|
int |
y | |
|
) |
| | |
| void Microsoft.Samples.DirectX.UtilityToolkit.TextHelper.SetInsertionPoint |
( |
System.Drawing.Point |
p |
) |
|
The documentation for this struct was generated from the following files: