コード例 #1
0
ファイル: PlotView.cs プロジェクト: benjaminrupp/oxyplot
 /// <summary>
 /// Handles touch released events.
 /// </summary>
 /// <param name="e">The motion event arguments.</param>
 /// <returns><c>true</c> if the event was handled.</returns>
 private bool OnTouchUpEvent(MotionEvent e)
 {
     return this.ActualController.HandleTouchCompleted(this, e.ToTouchEventArgs(Scale));
 }
コード例 #2
0
ファイル: PlotView.cs プロジェクト: benjaminrupp/oxyplot
 /// <summary>
 /// Handles touch down events.
 /// </summary>
 /// <param name="e">The motion event arguments.</param>
 /// <returns><c>true</c> if the event was handled.</returns>
 private bool OnTouchDownEvent(MotionEvent e)
 {
     var args = e.ToTouchEventArgs(Scale);
     var handled = this.ActualController.HandleTouchStarted(this, args);
     this.previousTouchPoints = e.GetTouchPoints(Scale);
     return handled;
 }