'Set the control point rectangle (:class:`QRectF`)'

def setRect(self, rect):

    if (self.__rect != rect):
        self.__rect = QRectF(rect)
        self.__pointsLayout()
        self.prepareGeometryChange()
        self.rectChanged.emit(rect.normalized())
