blob: a5c0eacbc9e059a3b79129dfba43972cf6204bad (
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
|
using System;
namespace Xamarin.Forms
{
public class PinchGestureUpdatedEventArgs : EventArgs
{
public PinchGestureUpdatedEventArgs(GestureStatus status, double scale, Point origin) : this(status)
{
ScaleOrigin = origin;
Scale = scale;
}
public PinchGestureUpdatedEventArgs(GestureStatus status)
{
Status = status;
}
public double Scale { get; } = 1;
public Point ScaleOrigin { get; }
public GestureStatus Status { get; }
}
}
|