RectFromLoc

Parameters
min location
max location
comment

Returns new rectangle as defined by two locations: min (bottom-left) and max (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 by 32.0 than that of the world bounds.

note

See: Rect, RemoveRect, GetWorldBounds.

patch

1.00

Source
common.j
return type
rect
Source code
native RectFromLoc              takes location min, location max returns rect