Function EventDispatcher.onPenMotion

Called when a pen (stilus) is moved over a graphics tablet.

void onPenMotion(
  int x,
  int y,
  float pressure
);