Пример #1
0
 public Point2(double x, double y)
 {
     this.pos = new Vect2(x, y);
 }
Пример #2
0
 public Rect2(double x, double y, double width, double height)
 {
     this.pos  = new Vect2(x, y);
     this.size = new Vect2(width, height);
 }
Пример #3
0
 public Point2(Vect2 pos)
 {
     this.pos = pos;
 }
Пример #4
0
 public Rect2(Vect2 pos, Vect2 size)
 {
     this.pos  = pos;
     this.size = size;
 }