public void Init(String type, Boolean bubbles, Boolean cancelable, IWindow view, Int32 detail, ITouchList touches, ITouchList targetTouches, ITouchList changedTouches, Boolean ctrlKey, Boolean altKey, Boolean shiftKey, Boolean metaKey) { Init(type, bubbles, cancelable, view, detail); Touches = touches; TargetTouches = targetTouches; ChangedTouches = changedTouches; IsCtrlPressed = ctrlKey; IsShiftPressed = shiftKey; IsMetaPressed = metaKey; IsAltPressed = altKey; }
public TouchEvent(String type, Boolean bubbles = false, Boolean cancelable = false, IWindow view = null, Int32 detail = 0, ITouchList touches = null, ITouchList targetTouches = null, ITouchList changedTouches = null, Boolean ctrlKey = false, Boolean altKey = false, Boolean shiftKey = false, Boolean metaKey = false) { Init(type, bubbles, cancelable, view, detail); }