Merge "add Timer Tick event" into tizen
[platform/core/csapi/nui.git] / Tizen.NUI / src / internal / RectUnsignedInteger.cs
1 //------------------------------------------------------------------------------
2 // <auto-generated />
3 //
4 // This file was automatically generated by SWIG (http://www.swig.org).
5 // Version 3.0.9
6 //
7 // Do not make changes to this file unless you know what you are doing--modify
8 // the SWIG interface file instead.
9 //------------------------------------------------------------------------------
10
11 namespace Tizen.NUI {
12
13 public class RectUnsignedInteger : global::System.IDisposable {
14   private global::System.Runtime.InteropServices.HandleRef swigCPtr;
15   protected bool swigCMemOwn;
16
17   internal RectUnsignedInteger(global::System.IntPtr cPtr, bool cMemoryOwn) {
18     swigCMemOwn = cMemoryOwn;
19     swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
20   }
21
22   internal static global::System.Runtime.InteropServices.HandleRef getCPtr(RectUnsignedInteger obj) {
23     return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
24   }
25
26   ~RectUnsignedInteger() {
27     DisposeQueue.Instance.Add(this);
28   }
29
30   public virtual void Dispose() {
31     if (!Stage.IsInstalled()) {
32       DisposeQueue.Instance.Add(this);
33       return;
34     }
35
36     lock(this) {
37       if (swigCPtr.Handle != global::System.IntPtr.Zero) {
38         if (swigCMemOwn) {
39           swigCMemOwn = false;
40           NDalicPINVOKE.delete_RectUnsignedInteger(swigCPtr);
41         }
42         swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
43       }
44       global::System.GC.SuppressFinalize(this);
45     }
46   }
47
48
49   public RectUnsignedInteger() : this(NDalicPINVOKE.new_RectUnsignedInteger__SWIG_0(), true) {
50     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
51   }
52
53   public RectUnsignedInteger(uint x, uint y, uint width, uint height) : this(NDalicPINVOKE.new_RectUnsignedInteger__SWIG_1(x, y, width, height), true) {
54     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
55   }
56
57   public RectUnsignedInteger(RectUnsignedInteger rhs) : this(NDalicPINVOKE.new_RectUnsignedInteger__SWIG_2(RectUnsignedInteger.getCPtr(rhs)), true) {
58     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
59   }
60
61   public RectUnsignedInteger Assign(RectUnsignedInteger rhs) {
62     RectUnsignedInteger ret = new RectUnsignedInteger(NDalicPINVOKE.RectUnsignedInteger_Assign(swigCPtr, RectUnsignedInteger.getCPtr(rhs)), false);
63     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
64     return ret;
65   }
66
67   public void Set(uint newX, uint newY, uint newWidth, uint newHeight) {
68     NDalicPINVOKE.RectUnsignedInteger_Set(swigCPtr, newX, newY, newWidth, newHeight);
69     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
70   }
71
72   public bool IsEmpty() {
73     bool ret = NDalicPINVOKE.RectUnsignedInteger_IsEmpty(swigCPtr);
74     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
75     return ret;
76   }
77
78   public uint Left() {
79     uint ret = NDalicPINVOKE.RectUnsignedInteger_Left(swigCPtr);
80     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
81     return ret;
82   }
83
84   public uint Right() {
85     uint ret = NDalicPINVOKE.RectUnsignedInteger_Right(swigCPtr);
86     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
87     return ret;
88   }
89
90   public uint Top() {
91     uint ret = NDalicPINVOKE.RectUnsignedInteger_Top(swigCPtr);
92     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
93     return ret;
94   }
95
96   public uint Bottom() {
97     uint ret = NDalicPINVOKE.RectUnsignedInteger_Bottom(swigCPtr);
98     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
99     return ret;
100   }
101
102   public uint Area() {
103     uint ret = NDalicPINVOKE.RectUnsignedInteger_Area(swigCPtr);
104     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
105     return ret;
106   }
107
108   public bool Intersects(RectUnsignedInteger other) {
109     bool ret = NDalicPINVOKE.RectUnsignedInteger_Intersects(swigCPtr, RectUnsignedInteger.getCPtr(other));
110     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
111     return ret;
112   }
113
114   public bool Contains(RectUnsignedInteger other) {
115     bool ret = NDalicPINVOKE.RectUnsignedInteger_Contains(swigCPtr, RectUnsignedInteger.getCPtr(other));
116     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
117     return ret;
118   }
119
120   public uint x {
121     set {
122       NDalicPINVOKE.RectUnsignedInteger_x_set(swigCPtr, value);
123       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
124     } 
125     get {
126       uint ret = NDalicPINVOKE.RectUnsignedInteger_x_get(swigCPtr);
127       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
128       return ret;
129     } 
130   }
131
132   public uint left {
133     set {
134       NDalicPINVOKE.RectUnsignedInteger_left_set(swigCPtr, value);
135       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
136     } 
137     get {
138       uint ret = NDalicPINVOKE.RectUnsignedInteger_left_get(swigCPtr);
139       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
140       return ret;
141     } 
142   }
143
144   public uint y {
145     set {
146       NDalicPINVOKE.RectUnsignedInteger_y_set(swigCPtr, value);
147       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
148     } 
149     get {
150       uint ret = NDalicPINVOKE.RectUnsignedInteger_y_get(swigCPtr);
151       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
152       return ret;
153     } 
154   }
155
156   public uint right {
157     set {
158       NDalicPINVOKE.RectUnsignedInteger_right_set(swigCPtr, value);
159       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
160     } 
161     get {
162       uint ret = NDalicPINVOKE.RectUnsignedInteger_right_get(swigCPtr);
163       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
164       return ret;
165     } 
166   }
167
168   public uint width {
169     set {
170       NDalicPINVOKE.RectUnsignedInteger_width_set(swigCPtr, value);
171       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
172     } 
173     get {
174       uint ret = NDalicPINVOKE.RectUnsignedInteger_width_get(swigCPtr);
175       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
176       return ret;
177     } 
178   }
179
180   public uint bottom {
181     set {
182       NDalicPINVOKE.RectUnsignedInteger_bottom_set(swigCPtr, value);
183       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
184     } 
185     get {
186       uint ret = NDalicPINVOKE.RectUnsignedInteger_bottom_get(swigCPtr);
187       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
188       return ret;
189     } 
190   }
191
192   public uint height {
193     set {
194       NDalicPINVOKE.RectUnsignedInteger_height_set(swigCPtr, value);
195       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
196     } 
197     get {
198       uint ret = NDalicPINVOKE.RectUnsignedInteger_height_get(swigCPtr);
199       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
200       return ret;
201     } 
202   }
203
204   public uint top {
205     set {
206       NDalicPINVOKE.RectUnsignedInteger_top_set(swigCPtr, value);
207       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
208     } 
209     get {
210       uint ret = NDalicPINVOKE.RectUnsignedInteger_top_get(swigCPtr);
211       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
212       return ret;
213     } 
214   }
215
216 }
217
218 }