centerX

Return

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

fun centerX(): Double