function Rectangle(x, y, width, height) { this.x = x; this.y = y; this.width = width; this.height = height; }