def init(self, src0=(0, 0), src1=(-1, -1), src2=(-1, -1), src3=(-1, -1),
             delta0=(0, 0), delta1=(0, 0), delta2=(0, 0), delta3=(0, 0),
             grid=(1, 1), *args, **kw):

        if grid != (1, 1):
            raise GridException("Invalid grid size.")

        super(QuadMoveBy, self).init(grid, *args, **kw)

        x, y = director.get_window_size()

        if src1 == (-1, -1):
            src1 = (x, 0)
        if src2 == (-1, -1):
            src2 = (x, y)
        if src3 == (-1, -1):
            src3 = (0, y)

        self.src0 = Point3(src0[0], src0[1], 0)
        self.src1 = Point3(src1[0], src1[1], 0)
        self.src2 = Point3(src2[0], src2[1], 0)
        self.src3 = Point3(src3[0], src3[1], 0)
        self.delta0 = Point3(delta0[0], delta0[1], 0)
        self.delta1 = Point3(delta1[0], delta1[1], 0)
        self.delta2 = Point3(delta2[0], delta2[1], 0)
        self.delta3 = Point3(delta3[0], delta3[1], 0)
Initializes the QuadMoveBy
dataset/ETHPy150Open los-cocos/cocos/cocos/actions/quadmoveby_actions.py/QuadMoveBy.init