def swipe(self, x1, y1, x2, y2, duration):
raise NotImplementedError<EOL>
Perform swipe action as simulated input on target device from point A to B within given time interval to
perform the action. Coordinates  arguments are all in range of 0~1.

Args:
    x1 (:obj:`float`): x-coordinate of the start point
    y1 (:obj:`float`): y-coordinate of the start point
    x2 (:obj:`float`): x-coordinate of the end point
    y2 (:obj:`float`): y-coordinate of the end point
    duration (:obj:`float`): time interval to perform the swipe action