TouchFingerEvent constructor

TouchFingerEvent(
  1. Sdl sdl,
  2. int timestamp,
  3. TouchFingerEventType type,
  4. int touchId,
  5. int fingerId,
  6. double x,
  7. double y,
  8. double distanceX,
  9. double distanceY,
  10. double pressure,
  11. int windowId,
)

Create an event.

Implementation

TouchFingerEvent(
  super.sdl,
  super.timestamp,
  this.type,
  this.touchId,
  this.fingerId,
  final double x,
  final double y,
  this.distanceX,
  this.distanceY,
  this.pressure,
  final int windowId,
) {
  this.windowId = windowId;
  this.x = x;
  this.y = y;
}