| DebugRendererDrawText Method (StringBuilder, Vector2F, Color) |
Draws a text on a 2D position in screen space.
Namespace: DigitalRune.Graphics.RenderingAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public void DrawText(
StringBuilder text,
Vector2F position,
Color color
)
Public Sub DrawText (
text As StringBuilder,
position As Vector2F,
color As Color
)
public:
void DrawText(
StringBuilder^ text,
Vector2F position,
Color color
)
member DrawText :
text : StringBuilder *
position : Vector2F *
color : Color -> unit
Parameters
- text
- Type: System.TextStringBuilder
The text. - position
- Type: DigitalRune.Mathematics.AlgebraVector2F
The position in screen space (measured in pixels). - color
- Type: Color
The color.
See Also