Interface GestureStylus.OnProximity

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.OnProximity
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onProximity(double x, double y)
    Emitted when the stylus is in proximity of the device.
  • Method Details

    • onProximity

      void onProximity(double x, double y)
      Emitted when the stylus is in proximity of the device.
      Parameters:
      x - the X coordinate of the stylus event
      y - the Y coordinate of the stylus event