Represents a size.
Esempio n. 1
0
 public Rectangle(int x, int y, Size size)
     : this(new Point(x, y), size)
 {
 }
Esempio n. 2
0
        public void SetSize(Size size)
        {
            Size = size;

            Text = new char[Height, Width];
            Colors = new ColorInfo[Height, Width];
            Cursor = new Point(0, 0);
        }
Esempio n. 3
0
 public Rectangle(Point location, Size size)
 {
     Location = location;
     Size = size;
 }
Esempio n. 4
0
 public TextBuffer(Size size)
 {
     SetSize(size);
     CurrentColor = new ColorInfo(ConsoleColor.DarkRed, ConsoleColor.White);
 }