DALi C# Tizen GBS build:
[platform/core/uifw/dali-toolkit.git] / plugins / dali-swig / automatic / csharp / 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 Dali {
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     Dispose();
28   }
29
30   public virtual void Dispose() {
31     lock(this) {
32       if (swigCPtr.Handle != global::System.IntPtr.Zero) {
33         if (swigCMemOwn) {
34           swigCMemOwn = false;
35           NDalicPINVOKE.delete_RectUnsignedInteger(swigCPtr);
36         }
37         swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
38       }
39       global::System.GC.SuppressFinalize(this);
40     }
41   }
42
43   public RectUnsignedInteger() : this(NDalicPINVOKE.new_RectUnsignedInteger__SWIG_0(), true) {
44     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
45   }
46
47   public RectUnsignedInteger(uint x, uint y, uint width, uint height) : this(NDalicPINVOKE.new_RectUnsignedInteger__SWIG_1(x, y, width, height), true) {
48     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
49   }
50
51   public RectUnsignedInteger(RectUnsignedInteger rhs) : this(NDalicPINVOKE.new_RectUnsignedInteger__SWIG_2(RectUnsignedInteger.getCPtr(rhs)), true) {
52     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
53   }
54
55   public RectUnsignedInteger Assign(RectUnsignedInteger rhs) {
56     RectUnsignedInteger ret = new RectUnsignedInteger(NDalicPINVOKE.RectUnsignedInteger_Assign(swigCPtr, RectUnsignedInteger.getCPtr(rhs)), false);
57     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
58     return ret;
59   }
60
61   public void Set(uint newX, uint newY, uint newWidth, uint newHeight) {
62     NDalicPINVOKE.RectUnsignedInteger_Set(swigCPtr, newX, newY, newWidth, newHeight);
63     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
64   }
65
66   public bool IsEmpty() {
67     bool ret = NDalicPINVOKE.RectUnsignedInteger_IsEmpty(swigCPtr);
68     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
69     return ret;
70   }
71
72   public uint Left() {
73     uint ret = NDalicPINVOKE.RectUnsignedInteger_Left(swigCPtr);
74     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
75     return ret;
76   }
77
78   public uint Right() {
79     uint ret = NDalicPINVOKE.RectUnsignedInteger_Right(swigCPtr);
80     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
81     return ret;
82   }
83
84   public uint Top() {
85     uint ret = NDalicPINVOKE.RectUnsignedInteger_Top(swigCPtr);
86     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
87     return ret;
88   }
89
90   public uint Bottom() {
91     uint ret = NDalicPINVOKE.RectUnsignedInteger_Bottom(swigCPtr);
92     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
93     return ret;
94   }
95
96   public uint Area() {
97     uint ret = NDalicPINVOKE.RectUnsignedInteger_Area(swigCPtr);
98     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
99     return ret;
100   }
101
102   public bool Intersects(RectUnsignedInteger other) {
103     bool ret = NDalicPINVOKE.RectUnsignedInteger_Intersects(swigCPtr, RectUnsignedInteger.getCPtr(other));
104     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
105     return ret;
106   }
107
108   public bool Contains(RectUnsignedInteger other) {
109     bool ret = NDalicPINVOKE.RectUnsignedInteger_Contains(swigCPtr, RectUnsignedInteger.getCPtr(other));
110     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
111     return ret;
112   }
113
114   public uint x {
115     set {
116       NDalicPINVOKE.RectUnsignedInteger_x_set(swigCPtr, value);
117       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
118     } 
119     get {
120       uint ret = NDalicPINVOKE.RectUnsignedInteger_x_get(swigCPtr);
121       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
122       return ret;
123     } 
124   }
125
126   public uint left {
127     set {
128       NDalicPINVOKE.RectUnsignedInteger_left_set(swigCPtr, value);
129       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
130     } 
131     get {
132       uint ret = NDalicPINVOKE.RectUnsignedInteger_left_get(swigCPtr);
133       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
134       return ret;
135     } 
136   }
137
138   public uint y {
139     set {
140       NDalicPINVOKE.RectUnsignedInteger_y_set(swigCPtr, value);
141       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
142     } 
143     get {
144       uint ret = NDalicPINVOKE.RectUnsignedInteger_y_get(swigCPtr);
145       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
146       return ret;
147     } 
148   }
149
150   public uint right {
151     set {
152       NDalicPINVOKE.RectUnsignedInteger_right_set(swigCPtr, value);
153       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
154     } 
155     get {
156       uint ret = NDalicPINVOKE.RectUnsignedInteger_right_get(swigCPtr);
157       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
158       return ret;
159     } 
160   }
161
162   public uint width {
163     set {
164       NDalicPINVOKE.RectUnsignedInteger_width_set(swigCPtr, value);
165       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
166     } 
167     get {
168       uint ret = NDalicPINVOKE.RectUnsignedInteger_width_get(swigCPtr);
169       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
170       return ret;
171     } 
172   }
173
174   public uint bottom {
175     set {
176       NDalicPINVOKE.RectUnsignedInteger_bottom_set(swigCPtr, value);
177       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
178     } 
179     get {
180       uint ret = NDalicPINVOKE.RectUnsignedInteger_bottom_get(swigCPtr);
181       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
182       return ret;
183     } 
184   }
185
186   public uint height {
187     set {
188       NDalicPINVOKE.RectUnsignedInteger_height_set(swigCPtr, value);
189       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
190     } 
191     get {
192       uint ret = NDalicPINVOKE.RectUnsignedInteger_height_get(swigCPtr);
193       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
194       return ret;
195     } 
196   }
197
198   public uint top {
199     set {
200       NDalicPINVOKE.RectUnsignedInteger_top_set(swigCPtr, value);
201       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
202     } 
203     get {
204       uint ret = NDalicPINVOKE.RectUnsignedInteger_top_get(swigCPtr);
205       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
206       return ret;
207     } 
208   }
209
210 }
211
212 }