Well, this is not for integer coordinates. This is for pixels.
As i said in example - let's take a look at 2x2 rectangle.
And what is pixel? It's 1x1 square. So 2x2 square will contain 4 pixels (0,0), (1,0), (0,1) and (1,1)
But pixel is not a point - it's a square.
Will 2x2 rect contain pixel (2,2)? No
Will 2x2 rect contain point (2,2)? Yes
So this is not clear in Rect class - if you work with points or pixels. In function call it called a point, but actually it isn't.
And, well, if nobody cares about that - i won't too.