RectFromLoc
- Parameters
-
min location
max location
- comment
-
Returns new rectangle as defined by two locations:
min
(bottom-left) andmax
(top-right).The rectangle size and coordinates are limited to valid map coordinates, see
GetWorldBounds
. - bug
-
You can't create your own rectangle that would match the dimensions of
GetWorldBounds
. The maxX and maxY will be smaller by32.0
than that of the world bounds. - note
-
See:
Rect
,RemoveRect
,GetWorldBounds
. - patch
-
1.00
- Source
- common.j (suggest an edit or discuss on Github)
- return type
-
rect
- Source code
-
native RectFromLoc takes location min, location max returns rect