Avalonia.Input.UnitTests.TouchDeviceTests.SendXTouchContactsWithIds C# (CSharp) Method

SendXTouchContactsWithIds() private static method

private static SendXTouchContactsWithIds ( IInputManager inputManager, TouchDevice device, IInputRoot root, RawPointerEventType type ) : void
inputManager IInputManager
device TouchDevice
root IInputRoot
type RawPointerEventType
return void
        private static void SendXTouchContactsWithIds(IInputManager inputManager, TouchDevice device, IInputRoot root, RawPointerEventType type, params long[] touchPointIds)
        {
            for (int i = 0; i < touchPointIds.Length; i++)
            {
                inputManager.ProcessInput(new RawPointerEventArgs(device, 0,
                                                              root,
                                                              type,
                                                              new Point(0, 0),
                                                              RawInputModifiers.None)
                {
                    RawPointerId = touchPointIds[i]
                });
            }
        }