rect.topMiddle()

Return the point that is at the top middle of the rectangle.