The rectangle constructor, initializes position and size
X coordinate of the position
Y coordinate of the position
Rectangle width
Rectangle height
ReadonlypositionRange position
ReadonlysizeThe rectangle size
ReadonlytypeThe range type identifier
Protected_Updates the internal position values.
New x coordinate.
New y coordinate.
Check if the given point is inside the rectangle
the point to check
true or false, checking if the given point is inside the rectangle
Check if another range intersects the rectangle
the range to check
true or false, checking if the range is intersecting with the rectangle
Resets the rectangle position and size, reusing the instance
X coordinate of the position
Y coordinate of the position
Rectangle width
Rectangle height
the rectangle instance for chaining
Rectangular spatial range