rect.center()

Return the point that is the center of the rectangle.