Checks if the given point is inside the Rectangle's bounds.
name | type | description |
---|---|---|
x | number |
The X coordinate of the point to check. |
y | number |
The Y coordinate of the point to check. |
true
if the point is within the Rectangle's bounds, otherwise false
.