Alteridem.WinTouch.GestureListener.OnPan C# (CSharp) Method

OnPan() private method

private OnPan ( GestureInfo info ) : bool
info GestureInfo
return bool
        private bool OnPan( GestureInfo info )
        {
            if ( Pan != null )
            {
                if ( info.Begin )
                {
                    _lastPanPoint = new Point( info.location.x, info.location.y );
                }
                var args = new PanEventArgs( info, _lastPanPoint );
                _lastPanPoint = new Point( info.location.x, info.location.y );
                Pan( this, args );
                return args.Handled;
            }
            return false;
        }