summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core/PanUpdatedEventArgs.cs
blob: 4c9e9481825c07cb33355acd1e6630c1765845ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
using System;

namespace Xamarin.Forms
{
	public class PanUpdatedEventArgs : EventArgs
	{
		public PanUpdatedEventArgs(GestureStatus type, int gestureId, double totalx, double totaly) : this(type, gestureId)
		{
			TotalX = totalx;
			TotalY = totaly;
		}

		public PanUpdatedEventArgs(GestureStatus type, int gestureId)
		{
			StatusType = type;
			GestureId = gestureId;
		}

		public int GestureId { get; }

		public GestureStatus StatusType { get; }

		public double TotalX { get; }

		public double TotalY { get; }
	}
}