예제 #1
0
 public Vector2 GetSize(GameScreen screen)
 {
     return(screen.ScreenManager.Font.MeasureString(text));
 }
예제 #2
0
 /// <summary>
 /// Queries how much space this menu entry requires.
 /// </summary>
 public int GetHeight(GameScreen screen)
 {
     return(screen.ScreenManager.Font.LineSpacing);
 }