def distort(self, x1=<NUM_LIT:0>,y1=<NUM_LIT:0>, x2=<NUM_LIT:0>,y2=<NUM_LIT:0>, x3=<NUM_LIT:0>,y3=<NUM_LIT:0>, x4=<NUM_LIT:0>,y4=<NUM_LIT:0>):
w, h = self.img.size<EOL>quad = (-x1,-y1, -x4,h-y4, w-x3,w-y3, w-x2,-y2)<EOL>self.img = self.img.transform(self.img.size, Image.QUAD, quad, INTERPOLATION)<EOL>
Distorts the layer.

        Distorts the layer by translating 
        the four corners of its bounding box to the given coordinates:
        upper left (x1,y1), upper right(x2,y2),
        lower right (x3,y3) and lower left (x4,y4).