Changes the minimum and maximum point of a rectangle to make it centered around the specified point. Thus it moves the rectangle to a new position.
Does nothing if either location is null or invalid.
This can be used to move the rectangle outside of the map bounds, bypassing the limiting checks.
See: Rect, SetRect, SetRectFromLoc, MoveRectTo.
Rect
SetRect
SetRectFromLoc
MoveRectTo
Generated using TypeDoc
Changes the minimum and maximum point of a rectangle to make it centered around the specified point. Thus it moves the rectangle to a new position.
Does nothing if either location is null or invalid.