Determines whether the specified (x, y) coordinate lies within the bounds of the given rectangle.
The rectangle to test against.
The x-coordinate to check.
The y-coordinate to check.
true if the (x, y) coordinate is inside the rectangle (inclusive of the top-left edge and exclusive of the bottom-right edge); otherwise, false.
true
false
Determines whether the specified (x, y) coordinate lies within the bounds of the given rectangle.