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.

patch

1.00

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