public DrawLocalString ( |
||
batch | The SpriteBatch to draw the text onto | |
text | string | The content of the text |
to | Vector2 | The position of the text. Relative to this UIElement. |
style | The text style | |
bounds | Rectangle relative to this UIElement which the text should be positioned within | |
align | TextAlignment | Alignment of the text within the bounds box. |
return | void |
public void DrawLocalString(SpriteBatch batch, string text, Vector2 to, TextStyle style, Rectangle bounds, TextAlignment align)
{
DrawLocalString(batch, text, to, style, bounds, align, Rectangle.Empty);
}
UIElement::DrawLocalString ( |
|
UIElement::DrawLocalString ( |
|
UIElement::DrawLocalString ( |