'This method keeps the feature\'s center the same but sets a new width and height'

def rescale(self, w, h):

    (maxx, minx, maxy, miny) = self.extents()
    xc = (minx + ((maxx - minx) / 2))
    yc = (miny + ((maxy - miny) / 2))
    x = (xc - (w / 2))
    y = (yc - (h / 2))
    self.x = x
    self.y = y
    self.points = [(x, y), ((x + w), y), ((x + w), (y + h)), (x, (y + h))]
    self._updateExtents()
