Added C# bindings for Window focus event and NPatchVisual property
[platform/core/uifw/dali-toolkit.git] / plugins / dali-swig / SWIG / gestures / pinch-gesture.i
1 %csmethodmodifiers Dali::PinchGesture::scale "private";
2 %csmethodmodifiers Dali::PinchGesture::speed "private";
3 %csmethodmodifiers Dali::PinchGesture::screenCenterPoint "private";
4 %csmethodmodifiers Dali::PinchGesture::localCenterPoint "private";
5
6 %typemap(cscode) Dali::PinchGesture %{
7   public static PinchGesture GetPinchGestureFromPtr(global::System.IntPtr cPtr) {
8     PinchGesture ret = new PinchGesture(cPtr, false);
9     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
10     return ret;
11   }
12
13   public float Scale
14   {
15     get
16     {
17       return scale;
18     }
19   }
20
21   public float Speed
22   {
23     get
24     {
25       return speed;
26     }
27   }
28
29   public Vector2 ScreenCenterPoint
30   {
31     get
32     {
33       return screenCenterPoint;
34     }
35   }
36
37   public Vector2 LocalCenterPoint
38   {
39     get
40     {
41       return localCenterPoint;
42     }
43   }
44 %}