GetTouchPosition method

  1. @override
Vector2D GetTouchPosition(
  1. int index
)
override

Get touch position XY for a touch point index (relative to screen size)

Implementation

@override
Vector2D GetTouchPosition(
  int index,
) => $.Vector2$.Extract1(
  (p) => _ffi.GetTouchPosition(
    index,
  ).toDart(p.asNativePointer()),
);