Flicks screen to the left.

@param int $x
@param int $y
@param int $distance
@param int $duration
@return $this
181328
public function flickLeft($x, $y, $distance, $duration)
    {
        return $this
            ->flick($x, $y, WebDriver_Server_Selendroid::DIRECTION_LEFT, $distance, $duration);
    }
809892
public function swipe($xSpeed, $ySpeed)
    {
        $this->webDriver->getDriver()->curl(
            $this->webDriver->getDriver()->factoryCommand(
                'touch/flick',
                WebDriver_Command::METHOD_POST,
                [
                    'xspeed' => (int) $xSpeed,
                    'yspeed' => (int) $ySpeed,
                ]
            )
        );
        return $this;
    }
254691
public function setDuration($duration)
    {
        self::writeFullTag(
            $duration,
            'duration',
            true,
            'video:duration',
            $this->validator,
            'validateDuration',
            $this->exception,
            'Provided duration value is not a valid.'
        );

        return $this;
    }
1187366
function( x, y ) {
		if( !this.header._canDestroy )
			return null;
		if( this.contentItem.parent.isMaximised === true ) {
			this.contentItem.parent.toggleMaximise();
		}
		new lm.controls.DragProxy(
			x,
			y,
			this._dragListener,
			this._layoutManager,
			this.contentItem,
			this.header.parent
		);
	}
34464
private boolean wannaCancel(int x, int y) {
        return x < 0 || x > getWidth() || y < -DISTANCE_CANCEL || y > (getHeight() + DISTANCE_CANCEL);
    }
603258
public void showAt(final int x, final int y) {

        setPopupPositionAndShow(new PopupPanel.PositionCallback() {

            @Override
            public void setPosition(int offsetWidth, int offsetHeight) {

                int left = x + Window.getScrollLeft();
                int top = y + Window.getScrollTop();

                int exceedingWidth = (offsetWidth + left) - (Window.getClientWidth() + Window.getScrollLeft());
                if (exceedingWidth > 0) {
                    left -= exceedingWidth;
                    if (left < 0) {
                        left = 0;
                    }
                }

                int exceedingHeight = (offsetHeight + top) - (Window.getClientHeight() + Window.getScrollTop());
                if (exceedingHeight > 0) {
                    top -= exceedingHeight;
                    if (top < 0) {
                        top = 0;
                    }
                }

                setPopupPosition(left, top);
            }
        });
    }
338340
public TouchActions flick(int xSpeed, int ySpeed) {
    if (touchScreen != null) {
      action.addAction(new FlickAction(touchScreen, xSpeed, ySpeed));
    }
    return this;
  }
544764
public function crop($width, $height, $x = null, $y = null)
    {
        $this->toggleModified();

        $this->getInterventionImage()->crop($width, $height, $x, $y);

        return $this;
    }
1153146
public function setPositionExpression($xCoord, $yCoord)
	{
		$this->position = [
			'x' => (string) $xCoord,
			'y' => (string) $yCoord
		];
		
		return $this;
	}
458117
public function sub(QtiDuration $duration)
    {
        if ($duration->longerThanOrEquals($this) === true) {
            $this->setInterval(new DateInterval('PT0S'));
        } else {
            $refStrDate = '@0';
            $tz = new DateTimeZone(self::TIMEZONE);
            $d1 = new DateTime($refStrDate, $tz);
            $d2 = new DateTime($refStrDate, $tz);

            $d1->add(new DateInterval($this->__toString()));
            $d2->add(new DateInterval($duration->__toString()));

            $interval = $d1->diff($d2);
            $this->setInterval($interval);
        }
    }
264693
public function crop($x, $y, $x2, $y2) {
		$width = $x2 - $x;
		$height = $y2 - $y;
		$image = imagecreatetruecolor($width, $height);
		imagecopy($image, $this->_image, 0, 0, $x, $y, $width, $height);
		imagedestroy($this->_image);
		$this->_image = $image;
		return $this;
	}
199674
def drag(start_x, start_y, end_x, end_y, absolute=True, duration=0):
    
    if is_pressed():
        release()
    move(start_x, start_y, absolute, 0)
    press()
    move(end_x, end_y, absolute, duration)
    release()
1029199
public T forTicks(int duration, int delay)
	{
		this.duration = Timer.tickToTime(duration);
		this.delay = Timer.tickToTime(delay);

		return self();
	}
118874
def move_mouse(x_delta, y_delta)
      send_request RequestMessage.new(mouse_event_message: MouseEvent.new(x_delta: x_delta, y_delta: y_delta))
    end
828385
public function arcTo(
        $x,
        $y,
        $xRadius,
        $yRadius,
        $xRotation,
        $largeArc,
        $sweepClockwise,
        $relative = false
    ) {
        $this->path[] = sprintf(
            '%s %d,%d %d %d %d %d,%d',
            $relative ? 'a' : 'A',
            $xRadius,
            $yRadius,
            $xRotation,
            $largeArc ? 1 : 0,
            $sweepClockwise ? 1 : 0,
            $x,
            $y
        );

        return $this;
    }
209303
public function translate($x, $y)
    {

        $this->tx += $x;
        $this->ty += $y;

        return $this;
    }
710217
private function setShadowDistance($distance)
    {
        if ($distance !== null) {
            $this->shadowProperties['distance'] = (string) $this->getExcelPointsWidth($distance);
        }

        return $this;
    }