GetRectCenterX

Parameters
whichRect rect
comment

Returns rectangle's center X coordinate. This is equal to ((maxX + minX)/2).

Returns zero if whichRect is null or invalid.

return type
real
Source code
native GetRectCenterX           takes rect whichRect returns real
Source
common.j
wc3modding.com
GetRectCenterX