Interface GestureStylus.OnMotion

Enclosing class:
GestureStylus
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface GestureStylus.OnMotion
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onMotion(double x, double y)
    Emitted when the stylus moves while touching the device.
  • Method Details

    • onMotion

      void onMotion(double x, double y)
      Emitted when the stylus moves while touching the device.
      Parameters:
      x - the X coordinate of the stylus event
      y - the Y coordinate of the stylus event