getMaxY

Returns the maximum y-axis value, taking into account the current MergeMode.