INNER CODE UNIT · Python

start

codematrixer/hmdriver2 · hmdriver2/_gesture.py:46

    def start(self, x: Union[int, float], y: Union[int, float], interval: float = 0.5) -> '_Gesture':
        """
        Start gesture operation.

        Args:
            x: oordinate as a percentage or absolute value.
            y: coordinate as a percentage or absolute value.
            interval (float, optional): Duration to hold at start position in seconds. Default is 0.5.

        Returns:
            Gesture: Self instance to allow method chaining.
        """
        self._ensure_can_start()
        self._add_step(x, y, "start", interval)
        return self

    def move(self, x: Union[int, float], y: Union[int, float], interval: float = 0.5) -> '_Gesture':
        """

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…