The rectangle constructor, initializes position and size
X coordinate of the position
Y coordinate of the position
Rectangle width
Rectangle height
Readonly
Range position
The rectangle size
Check if the given point is inside the rectangle
true or false, checking if the given point is inside the rectangle
the point to check
Check if another range intersects the rectangle
true or false, checking if the range is intersecting with the rectangle
the range to check
The rectangle constructor, initializes position and size