def translate(self, x, y):
self.x = x<EOL>self.y = y<EOL>
Positions the layer at the given coordinates.

        The x and y parameters define where to position 
        the top left corner of the layer,
        measured from the top left of the canvas.