fun centerX(): double
Return double: the horizontal center of the rectangle. This does not check for a valid rectangle (i.e. left <= right)