public static void Text(Console console, UIPosition position, string text, byte color, UIAlignment alignment = UIAlignment.Center) { int x = position.GetX(console); int y = position.GetY(console); Text(console, x, y, text, color, alignment); }
public override void Draw(Console console) { for (int i = 0; i < lines.Count; i++) { UIUtils.Text(console, pivot.GetX(console), pivot.GetY(console) + i, lines[i], color, alignment); } }