def METHOD_NAME(self):
    llx, lly, urx, ury = self._bounding_box
    if self.view_bounds is not None:
        x, y, x2, y2 = self.view_bounds
        llx = min(llx, x)
        lly = min(lly, y)
        urx = max(urx, x2)
        ury = max(ury, y2)
    self.bounds_offset = [llx, lly]
    self.bounds = [urx - llx + 1, ury - lly + 1]