'**SUMMARY**
Move the roi.
**PARAMETERS**
* *x* - Move the ROI horizontally.
* *y* - Move the ROI vertically
**RETURNS**
Nothing.
**EXAMPLE**
>>> roi = ROI(10,10,100,100,img)
>>> roi.translate(30,30)
>>> roi.show()'

def translate(self, x=0, y=0):

    if ((x == 0) and (y == 0)):
        return
    if ((y == 0) and isinstance(x, (tuple, list))):
        y = x[1]
        x = x[0]
    if (isinstance(x, (float, int)) and isinstance(y, (float, int))):
        self._rebase([(self.xtl + x), (self.ytl + y), self.w, self.h])
