示例#1
0
 public Rectangle(Point location, Size size)
     : this()
 {
     this.Location = location;
     this.Size = size;
 }
示例#2
0
 public Rectangle(int x, int y, int w, int h)
     : this()
 {
     Location = new Point(x, y);
     Size = new Size(w, h);
 }