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 (suggest an edit or discuss on Github)
- return type
-
real
- Source code
-
native GetRectCenterX takes rect whichRect returns real