I wonder if there is a method to check if a point is within a rectangle.