public Rectangle(int x, int y, Size size) : this(new Point(x, y), size) { }
public void SetSize(Size size) { Size = size; Text = new char[Height, Width]; Colors = new ColorInfo[Height, Width]; Cursor = new Point(0, 0); }
public Rectangle(Point location, Size size) { Location = location; Size = size; }
public TextBuffer(Size size) { SetSize(size); CurrentColor = new ColorInfo(ConsoleColor.DarkRed, ConsoleColor.White); }