public Point2(double x, double y) { this.pos = new Vect2(x, y); }
public Rect2(double x, double y, double width, double height) { this.pos = new Vect2(x, y); this.size = new Vect2(width, height); }
public Point2(Vect2 pos) { this.pos = pos; }
public Rect2(Vect2 pos, Vect2 size) { this.pos = pos; this.size = size; }