Creates a rectangle with the given position and dimensions
const Rectangle(this.x, this.y, this.width, this.height);