private void OnTryInteract() { if (raycastInteraction.CurrentInteraction != raycastInteraction.LastInteraction) { raycastInteraction.LastInteraction?.StopInteraction(); StartInteraction?.Invoke(raycastInteraction.CurrentInteraction); raycastInteraction.CurrentInteraction?.StartInteraction(); } else { raycastInteraction.CurrentInteraction?.StopInteraction(); } }
void IGraphicsView.StartInteraction(PointF[] points) => StartInteraction?.Invoke(this, new TouchEventArgs(points, true));