Ejemplo n.º 1
0
 public void PointerUp()
 {
     if (FingerUp != null)
     {
         FingerUp.Invoke();
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Raises the <see cref="FingerUp"/> event.
 /// </summary>
 /// <param name="fingerID">A value which identifies the finger which was pressed or removed.</param>
 /// <param name="x">The normalized x-coordinate at which the finger was pressed or removed.</param>
 /// <param name="y">The normalized y-coordinate at which the finger was pressed or removed.</param>
 /// <param name="pressure">The normalized pressure with which the touch was applied.</param>
 protected virtual void OnFingerUp(Int64 fingerID, Single x, Single y, Single pressure) =>
 FingerUp?.Invoke(this, fingerID, x, y, pressure);