def METHOD_NAME(self, src, dst):
    # pylint: disable=W0212
    # Suppress warnings about protected member access.
    p1 = self.p1.METHOD_NAME(src, dst)
    p2 = self.p2.METHOD_NAME(src, dst)
    self._x = p1.x
    self._y = p1.y
    self._size._x = p2.x - p1.x
    self._size._y = p2.y - p1.y