Returns true if this rectangle contains the point p.
true
p
bool containsPoint(Point p) => containsXY(p.x, p.y);