示例#1
0
 public void Draw(Vector2 position, FontRenderer renderer, Matrix?transform = null)
 {
     SetPosition(position, transform);
     renderer.ResetDebug();
     Root.Draw(null, TextPosition.Transform * Matrix.CreateTranslation(TextPosition.Position.X, TextPosition.Position.Y, 0), renderer, new TextCursorPosition());
 }