Release 4.0.0-preview1-00051
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / internal / RenderTask.cs
1 /** Copyright (c) 2017 Samsung Electronics Co., Ltd.
2 *
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 *
15 */
16
17 namespace Tizen.NUI
18 {
19     using Tizen.NUI.BaseComponents;
20     internal class RenderTask : Animatable
21     {
22         private global::System.Runtime.InteropServices.HandleRef swigCPtr;
23
24         internal RenderTask(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.RenderTask_SWIGUpcast(cPtr), cMemoryOwn)
25         {
26             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
27         }
28
29         internal static global::System.Runtime.InteropServices.HandleRef getCPtr(RenderTask obj)
30         {
31             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
32         }
33
34         protected override void Dispose(DisposeTypes type)
35         {
36             if (disposed)
37             {
38                 return;
39             }
40
41             if (type == DisposeTypes.Explicit)
42             {
43                 //Called by User
44                 //Release your own managed resources here.
45                 //You should release all of your own disposable objects here.
46
47             }
48
49             //Release your own unmanaged resources here.
50             //You should not access any managed member here except static instance.
51             //because the execution order of Finalizes is non-deterministic.
52
53
54             if (swigCPtr.Handle != global::System.IntPtr.Zero)
55             {
56                 if (swigCMemOwn)
57                 {
58                     swigCMemOwn = false;
59                     NDalicPINVOKE.delete_RenderTask(swigCPtr);
60                 }
61                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
62             }
63
64             base.Dispose(type);
65         }
66
67
68         public static RenderTask GetRenderTaskFromPtr(global::System.IntPtr cPtr)
69         {
70             RenderTask ret = new RenderTask(cPtr, false);
71             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
72             return ret;
73         }
74
75         public class Property : global::System.IDisposable
76         {
77             private global::System.Runtime.InteropServices.HandleRef swigCPtr;
78             protected bool swigCMemOwn;
79
80             internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)
81             {
82                 swigCMemOwn = cMemoryOwn;
83                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
84             }
85
86             internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)
87             {
88                 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
89             }
90
91             //A Flag to check who called Dispose(). (By User or DisposeQueue)
92             private bool isDisposeQueued = false;
93             //A Flat to check if it is already disposed.
94             protected bool disposed = false;
95
96
97             ~Property()
98             {
99                 if (!isDisposeQueued)
100                 {
101                     isDisposeQueued = true;
102                     DisposeQueue.Instance.Add(this);
103                 }
104             }
105
106             public void Dispose()
107             {
108                 //Throw excpetion if Dispose() is called in separate thread.
109                 if (!Window.IsInstalled())
110                 {
111                     throw new System.InvalidOperationException("This API called from separate thread. This API must be called from MainThread.");
112                 }
113
114                 if (isDisposeQueued)
115                 {
116                     Dispose(DisposeTypes.Implicit);
117                 }
118                 else
119                 {
120                     Dispose(DisposeTypes.Explicit);
121                     System.GC.SuppressFinalize(this);
122                 }
123             }
124
125             protected virtual void Dispose(DisposeTypes type)
126             {
127                 if (disposed)
128                 {
129                     return;
130                 }
131
132                 if (type == DisposeTypes.Explicit)
133                 {
134                     //Called by User
135                     //Release your own managed resources here.
136                     //You should release all of your own disposable objects here.
137
138                 }
139
140                 //Release your own unmanaged resources here.
141                 //You should not access any managed member here except static instance.
142                 //because the execution order of Finalizes is non-deterministic.
143
144                 if (swigCPtr.Handle != global::System.IntPtr.Zero)
145                 {
146                     if (swigCMemOwn)
147                     {
148                         swigCMemOwn = false;
149                         NDalicPINVOKE.delete_RenderTask_Property(swigCPtr);
150                     }
151                     swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
152                 }
153
154                 disposed = true;
155             }
156
157             public Property() : this(NDalicPINVOKE.new_RenderTask_Property(), true)
158             {
159                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
160             }
161
162             public static readonly int VIEWPORT_POSITION = NDalicPINVOKE.RenderTask_Property_VIEWPORT_POSITION_get();
163             public static readonly int VIEWPORT_SIZE = NDalicPINVOKE.RenderTask_Property_VIEWPORT_SIZE_get();
164             public static readonly int CLEAR_COLOR = NDalicPINVOKE.RenderTask_Property_CLEAR_COLOR_get();
165             public static readonly int REQUIRES_SYNC = NDalicPINVOKE.RenderTask_Property_REQUIRES_SYNC_get();
166
167         }
168
169         internal static SWIGTYPE_p_f_r_Dali__Vector2__bool DEFAULT_SCREEN_TO_FRAMEBUFFER_FUNCTION
170         {
171             get
172             {
173                 global::System.IntPtr cPtr = NDalicPINVOKE.RenderTask_DEFAULT_SCREEN_TO_FRAMEBUFFER_FUNCTION_get();
174                 SWIGTYPE_p_f_r_Dali__Vector2__bool ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_r_Dali__Vector2__bool(cPtr, false);
175                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
176                 return ret;
177             }
178         }
179
180         internal static SWIGTYPE_p_f_r_Dali__Vector2__bool FULLSCREEN_FRAMEBUFFER_FUNCTION
181         {
182             get
183             {
184                 global::System.IntPtr cPtr = NDalicPINVOKE.RenderTask_FULLSCREEN_FRAMEBUFFER_FUNCTION_get();
185                 SWIGTYPE_p_f_r_Dali__Vector2__bool ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_r_Dali__Vector2__bool(cPtr, false);
186                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
187                 return ret;
188             }
189         }
190
191         public static bool DEFAULT_EXCLUSIVE
192         {
193             get
194             {
195                 bool ret = NDalicPINVOKE.RenderTask_DEFAULT_EXCLUSIVE_get();
196                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
197                 return ret;
198             }
199         }
200
201         public static bool DEFAULT_INPUT_ENABLED
202         {
203             get
204             {
205                 bool ret = NDalicPINVOKE.RenderTask_DEFAULT_INPUT_ENABLED_get();
206                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
207                 return ret;
208             }
209         }
210
211         public static Vector4 DEFAULT_CLEAR_COLOR
212         {
213             get
214             {
215                 global::System.IntPtr cPtr = NDalicPINVOKE.RenderTask_DEFAULT_CLEAR_COLOR_get();
216                 Vector4 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector4(cPtr, false);
217                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
218                 return ret;
219             }
220         }
221
222         public static bool DEFAULT_CLEAR_ENABLED
223         {
224             get
225             {
226                 bool ret = NDalicPINVOKE.RenderTask_DEFAULT_CLEAR_ENABLED_get();
227                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
228                 return ret;
229             }
230         }
231
232         public static bool DEFAULT_CULL_MODE
233         {
234             get
235             {
236                 bool ret = NDalicPINVOKE.RenderTask_DEFAULT_CULL_MODE_get();
237                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
238                 return ret;
239             }
240         }
241
242         public static uint DEFAULT_REFRESH_RATE
243         {
244             get
245             {
246                 uint ret = NDalicPINVOKE.RenderTask_DEFAULT_REFRESH_RATE_get();
247                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
248                 return ret;
249             }
250         }
251
252         public RenderTask() : this(NDalicPINVOKE.new_RenderTask__SWIG_0(), true)
253         {
254             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
255         }
256
257         public new static RenderTask DownCast(BaseHandle handle)
258         {
259             RenderTask ret =  Registry.GetManagedBaseHandleFromNativePtr(handle) as RenderTask;
260             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
261             return ret;
262         }
263
264         public RenderTask(RenderTask handle) : this(NDalicPINVOKE.new_RenderTask__SWIG_1(RenderTask.getCPtr(handle)), true)
265         {
266             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
267         }
268
269         public RenderTask Assign(RenderTask rhs)
270         {
271             RenderTask ret = new RenderTask(NDalicPINVOKE.RenderTask_Assign(swigCPtr, RenderTask.getCPtr(rhs)), false);
272             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
273             return ret;
274         }
275
276         public void SetSourceView(View view)
277         {
278             NDalicPINVOKE.RenderTask_SetSourceActor(swigCPtr, View.getCPtr(view));
279             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
280         }
281
282         public View GetSourceView()
283         {
284             View ret = new View(NDalicPINVOKE.RenderTask_GetSourceActor(swigCPtr), true);
285             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
286             return ret;
287         }
288
289         public void SetExclusive(bool exclusive)
290         {
291             NDalicPINVOKE.RenderTask_SetExclusive(swigCPtr, exclusive);
292             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
293         }
294
295         public bool IsExclusive()
296         {
297             bool ret = NDalicPINVOKE.RenderTask_IsExclusive(swigCPtr);
298             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
299             return ret;
300         }
301
302         public void SetInputEnabled(bool enabled)
303         {
304             NDalicPINVOKE.RenderTask_SetInputEnabled(swigCPtr, enabled);
305             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
306         }
307
308         public bool GetInputEnabled()
309         {
310             bool ret = NDalicPINVOKE.RenderTask_GetInputEnabled(swigCPtr);
311             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
312             return ret;
313         }
314
315         internal void SetCamera(Camera camera)
316         {
317             NDalicPINVOKE.RenderTask_SetCameraActor(swigCPtr, Camera.getCPtr(camera));
318             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
319         }
320
321         internal Camera GetCamera()
322         {
323             Camera ret = new Camera(NDalicPINVOKE.RenderTask_GetCameraActor(swigCPtr), true);
324             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
325             return ret;
326         }
327
328         public void SetTargetFrameBuffer(FrameBufferImage frameBuffer)
329         {
330             NDalicPINVOKE.RenderTask_SetTargetFrameBuffer(swigCPtr, FrameBufferImage.getCPtr(frameBuffer));
331             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
332         }
333
334         public FrameBufferImage GetTargetFrameBuffer()
335         {
336             FrameBufferImage ret = new FrameBufferImage(NDalicPINVOKE.RenderTask_GetTargetFrameBuffer(swigCPtr), true);
337             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
338             return ret;
339         }
340
341         public void SetFrameBuffer(FrameBuffer frameBuffer)
342         {
343             NDalicPINVOKE.RenderTask_SetFrameBuffer(swigCPtr, FrameBuffer.getCPtr(frameBuffer));
344             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
345         }
346
347         public FrameBuffer GetFrameBuffer()
348         {
349             FrameBuffer ret = new FrameBuffer(NDalicPINVOKE.RenderTask_GetFrameBuffer(swigCPtr), true);
350             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
351             return ret;
352         }
353
354         internal void SetScreenToFrameBufferFunction(SWIGTYPE_p_f_r_Dali__Vector2__bool conversionFunction)
355         {
356             NDalicPINVOKE.RenderTask_SetScreenToFrameBufferFunction(swigCPtr, SWIGTYPE_p_f_r_Dali__Vector2__bool.getCPtr(conversionFunction));
357             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
358         }
359
360         internal SWIGTYPE_p_f_r_Dali__Vector2__bool GetScreenToFrameBufferFunction()
361         {
362             global::System.IntPtr cPtr = NDalicPINVOKE.RenderTask_GetScreenToFrameBufferFunction(swigCPtr);
363             SWIGTYPE_p_f_r_Dali__Vector2__bool ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_r_Dali__Vector2__bool(cPtr, false);
364             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
365             return ret;
366         }
367
368         public void SetScreenToFrameBufferMappingView(View mappingView)
369         {
370             NDalicPINVOKE.RenderTask_SetScreenToFrameBufferMappingActor(swigCPtr, View.getCPtr(mappingView));
371             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
372         }
373
374         public View GetScreenToFrameBufferMappingView()
375         {
376             View ret = new View(NDalicPINVOKE.RenderTask_GetScreenToFrameBufferMappingActor(swigCPtr), true);
377             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
378             return ret;
379         }
380
381         public void SetViewportPosition(Vector2 position)
382         {
383             NDalicPINVOKE.RenderTask_SetViewportPosition(swigCPtr, Vector2.getCPtr(position));
384             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
385         }
386
387         public Vector2 GetCurrentViewportPosition()
388         {
389             Vector2 ret = new Vector2(NDalicPINVOKE.RenderTask_GetCurrentViewportPosition(swigCPtr), true);
390             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
391             return ret;
392         }
393
394         public void SetViewportSize(Vector2 size)
395         {
396             NDalicPINVOKE.RenderTask_SetViewportSize(swigCPtr, Vector2.getCPtr(size));
397             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
398         }
399
400         public Vector2 GetCurrentViewportSize()
401         {
402             Vector2 ret = new Vector2(NDalicPINVOKE.RenderTask_GetCurrentViewportSize(swigCPtr), true);
403             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
404             return ret;
405         }
406
407         public void SetViewport(Rectangle viewport)
408         {
409             NDalicPINVOKE.RenderTask_SetViewport(swigCPtr, Rectangle.getCPtr(viewport));
410             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
411         }
412
413         public Rectangle GetViewport()
414         {
415             Rectangle ret = new Rectangle(NDalicPINVOKE.RenderTask_GetViewport(swigCPtr), true);
416             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
417             return ret;
418         }
419
420         public void SetClearColor(Vector4 color)
421         {
422             NDalicPINVOKE.RenderTask_SetClearColor(swigCPtr, Vector4.getCPtr(color));
423             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
424         }
425
426         public Vector4 GetClearColor()
427         {
428             Vector4 ret = new Vector4(NDalicPINVOKE.RenderTask_GetClearColor(swigCPtr), true);
429             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
430             return ret;
431         }
432
433         public void SetClearEnabled(bool enabled)
434         {
435             NDalicPINVOKE.RenderTask_SetClearEnabled(swigCPtr, enabled);
436             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
437         }
438
439         public bool GetClearEnabled()
440         {
441             bool ret = NDalicPINVOKE.RenderTask_GetClearEnabled(swigCPtr);
442             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
443             return ret;
444         }
445
446         public void SetCullMode(bool cullMode)
447         {
448             NDalicPINVOKE.RenderTask_SetCullMode(swigCPtr, cullMode);
449             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
450         }
451
452         public bool GetCullMode()
453         {
454             bool ret = NDalicPINVOKE.RenderTask_GetCullMode(swigCPtr);
455             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
456             return ret;
457         }
458
459         public void SetRefreshRate(uint refreshRate)
460         {
461             NDalicPINVOKE.RenderTask_SetRefreshRate(swigCPtr, refreshRate);
462             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
463         }
464
465         public uint GetRefreshRate()
466         {
467             uint ret = NDalicPINVOKE.RenderTask_GetRefreshRate(swigCPtr);
468             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
469             return ret;
470         }
471
472         public bool WorldToViewport(Vector3 position, out float viewportX, out float viewportY)
473         {
474             bool ret = NDalicPINVOKE.RenderTask_WorldToViewport(swigCPtr, Vector3.getCPtr(position), out viewportX, out viewportY);
475             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
476             return ret;
477         }
478
479         public bool ViewportToLocal(View view, float viewportX, float viewportY, out float localX, out float localY)
480         {
481             bool ret = NDalicPINVOKE.RenderTask_ViewportToLocal(swigCPtr, View.getCPtr(view), viewportX, viewportY, out localX, out localY);
482             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
483             return ret;
484         }
485
486         internal RenderTaskSignal FinishedSignal()
487         {
488             RenderTaskSignal ret = new RenderTaskSignal(NDalicPINVOKE.RenderTask_FinishedSignal(swigCPtr), false);
489             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
490             return ret;
491         }
492
493         public enum RefreshRate
494         {
495             REFRESH_ONCE = 0,
496             REFRESH_ALWAYS = 1
497         }
498
499         public Vector2 ViewportPosition
500         {
501             get
502             {
503                 Vector2 temp = new Vector2(0.0f, 0.0f);
504                 GetProperty(RenderTask.Property.VIEWPORT_POSITION).Get(temp);
505                 return temp;
506             }
507             set
508             {
509                 SetProperty(RenderTask.Property.VIEWPORT_POSITION, new Tizen.NUI.PropertyValue(value));
510             }
511         }
512         public Vector2 ViewportSize
513         {
514             get
515             {
516                 Vector2 temp = new Vector2(0.0f, 0.0f);
517                 GetProperty(RenderTask.Property.VIEWPORT_SIZE).Get(temp);
518                 return temp;
519             }
520             set
521             {
522                 SetProperty(RenderTask.Property.VIEWPORT_SIZE, new Tizen.NUI.PropertyValue(value));
523             }
524         }
525         public Vector4 ClearColor
526         {
527             get
528             {
529                 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
530                 GetProperty(RenderTask.Property.CLEAR_COLOR).Get(temp);
531                 return temp;
532             }
533             set
534             {
535                 SetProperty(RenderTask.Property.CLEAR_COLOR, new Tizen.NUI.PropertyValue(value));
536             }
537         }
538         public bool RequiresSync
539         {
540             get
541             {
542                 bool temp = false;
543                 GetProperty(RenderTask.Property.REQUIRES_SYNC).Get(out temp);
544                 return temp;
545             }
546             set
547             {
548                 SetProperty(RenderTask.Property.REQUIRES_SYNC, new Tizen.NUI.PropertyValue(value));
549             }
550         }
551
552     }
553
554 }