1 // Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
\r
2 // PROPRIETARY/CONFIDENTIAL
\r
3 // This software is the confidential and proprietary
\r
4 // information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall
\r
5 // not disclose such Confidential Information and shall use it only in
\r
6 // accordance with the terms of the license agreement you entered into with
\r
7 // SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the
\r
8 // suitability of the software, either express or implied, including but not
\r
9 // limited to the implied warranties of merchantability, fitness for a
\r
10 // particular purpose, or non-infringement. SAMSUNG shall not be liable for any
\r
11 // damages suffered by licensee as a result of using, modifying or distributing
\r
12 // this software or its derivatives.
\r
14 // Copyright (c) 2017 Samsung Electronics Co., Ltd.
\r
16 // Licensed under the Apache License, Version 2.0 (the "License");
\r
17 // you may not use this file except in compliance with the License.
\r
18 // You may obtain a copy of the License at
\r
20 // http://www.apache.org/licenses/LICENSE-2.0
\r
22 // Unless required by applicable law or agreed to in writing, software
\r
23 // distributed under the License is distributed on an "AS IS" BASIS,
\r
24 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
25 // See the License for the specific language governing permissions and
\r
26 // limitations under the License.
\r
29 // This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
\r
30 // Some have been manually changed
\r
36 using System.Runtime.InteropServices;
\r
38 public class Actor : Handle
\r
40 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
\r
42 internal Actor(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Actor_SWIGUpcast(cPtr), cMemoryOwn)
\r
44 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
\r
47 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Actor obj)
\r
49 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
\r
54 DisposeQueue.Instance.Add(this);
\r
57 public override void Dispose()
\r
59 if (!Stage.IsInstalled())
\r
61 DisposeQueue.Instance.Add(this);
\r
67 if (swigCPtr.Handle != global::System.IntPtr.Zero)
\r
71 swigCMemOwn = false;
\r
72 NDalicPINVOKE.delete_Actor(swigCPtr);
\r
74 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
\r
76 global::System.GC.SuppressFinalize(this);
\r
83 internal static Actor GetActorFromPtr(global::System.IntPtr cPtr)
\r
85 Actor ret = new Actor(cPtr, false);
\r
86 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
90 internal IntPtr GetPtrfromActor()
\r
92 return (IntPtr)swigCPtr;
\r
103 public bool Visibility
\r
107 return IsVisible();
\r
111 public float Opacity
\r
116 GetProperty(Actor.Property.COLOR_ALPHA).Get(ref temp);
\r
121 SetProperty(Actor.Property.COLOR_ALPHA, new Tizen.NUI.PropertyValue(value));
\r
125 public bool IsOnStage
\r
133 public int HierarchyDepth
\r
137 return GetHierarchyDepth();
\r
141 public int SiblingOrder
\r
146 GetProperty(Actor.Property.SIBLING_ORDER).Get(ref temp);
\r
151 SetProperty(Actor.Property.SIBLING_ORDER, new Tizen.NUI.PropertyValue(value));
\r
165 internal class Property : global::System.IDisposable
\r
167 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
\r
168 protected bool swigCMemOwn;
\r
170 internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)
\r
172 swigCMemOwn = cMemoryOwn;
\r
173 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
\r
176 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)
\r
178 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
\r
186 public virtual void Dispose()
\r
190 if (swigCPtr.Handle != global::System.IntPtr.Zero)
\r
194 swigCMemOwn = false;
\r
195 NDalicPINVOKE.delete_Actor_Property(swigCPtr);
\r
197 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
\r
199 global::System.GC.SuppressFinalize(this);
\r
203 internal static readonly int SIBLING_ORDER = NDalicManualPINVOKE.Actor_Property_SIBLING_ORDER_get();
\r
204 internal static readonly int OPACITY = NDalicManualPINVOKE.Actor_Property_OPACITY_get();
\r
206 internal Property() : this(NDalicPINVOKE.new_Actor_Property(), true)
\r
208 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
211 internal static readonly int PARENT_ORIGIN = NDalicPINVOKE.Actor_Property_PARENT_ORIGIN_get();
\r
212 internal static readonly int PARENT_ORIGIN_X = NDalicPINVOKE.Actor_Property_PARENT_ORIGIN_X_get();
\r
213 internal static readonly int PARENT_ORIGIN_Y = NDalicPINVOKE.Actor_Property_PARENT_ORIGIN_Y_get();
\r
214 internal static readonly int PARENT_ORIGIN_Z = NDalicPINVOKE.Actor_Property_PARENT_ORIGIN_Z_get();
\r
215 internal static readonly int ANCHOR_POINT = NDalicPINVOKE.Actor_Property_ANCHOR_POINT_get();
\r
216 internal static readonly int ANCHOR_POINT_X = NDalicPINVOKE.Actor_Property_ANCHOR_POINT_X_get();
\r
217 internal static readonly int ANCHOR_POINT_Y = NDalicPINVOKE.Actor_Property_ANCHOR_POINT_Y_get();
\r
218 internal static readonly int ANCHOR_POINT_Z = NDalicPINVOKE.Actor_Property_ANCHOR_POINT_Z_get();
\r
219 internal static readonly int SIZE = NDalicPINVOKE.Actor_Property_SIZE_get();
\r
220 internal static readonly int SIZE_WIDTH = NDalicPINVOKE.Actor_Property_SIZE_WIDTH_get();
\r
221 internal static readonly int SIZE_HEIGHT = NDalicPINVOKE.Actor_Property_SIZE_HEIGHT_get();
\r
222 internal static readonly int SIZE_DEPTH = NDalicPINVOKE.Actor_Property_SIZE_DEPTH_get();
\r
223 internal static readonly int POSITION = NDalicPINVOKE.Actor_Property_POSITION_get();
\r
224 internal static readonly int POSITION_X = NDalicPINVOKE.Actor_Property_POSITION_X_get();
\r
225 internal static readonly int POSITION_Y = NDalicPINVOKE.Actor_Property_POSITION_Y_get();
\r
226 internal static readonly int POSITION_Z = NDalicPINVOKE.Actor_Property_POSITION_Z_get();
\r
227 internal static readonly int WORLD_POSITION = NDalicPINVOKE.Actor_Property_WORLD_POSITION_get();
\r
228 internal static readonly int WORLD_POSITION_X = NDalicPINVOKE.Actor_Property_WORLD_POSITION_X_get();
\r
229 internal static readonly int WORLD_POSITION_Y = NDalicPINVOKE.Actor_Property_WORLD_POSITION_Y_get();
\r
230 internal static readonly int WORLD_POSITION_Z = NDalicPINVOKE.Actor_Property_WORLD_POSITION_Z_get();
\r
231 internal static readonly int ORIENTATION = NDalicPINVOKE.Actor_Property_ORIENTATION_get();
\r
232 internal static readonly int WORLD_ORIENTATION = NDalicPINVOKE.Actor_Property_WORLD_ORIENTATION_get();
\r
233 internal static readonly int SCALE = NDalicPINVOKE.Actor_Property_SCALE_get();
\r
234 internal static readonly int SCALE_X = NDalicPINVOKE.Actor_Property_SCALE_X_get();
\r
235 internal static readonly int SCALE_Y = NDalicPINVOKE.Actor_Property_SCALE_Y_get();
\r
236 internal static readonly int SCALE_Z = NDalicPINVOKE.Actor_Property_SCALE_Z_get();
\r
237 internal static readonly int WORLD_SCALE = NDalicPINVOKE.Actor_Property_WORLD_SCALE_get();
\r
238 internal static readonly int VISIBLE = NDalicPINVOKE.Actor_Property_VISIBLE_get();
\r
239 internal static readonly int COLOR = NDalicPINVOKE.Actor_Property_COLOR_get();
\r
240 internal static readonly int COLOR_RED = NDalicPINVOKE.Actor_Property_COLOR_RED_get();
\r
241 internal static readonly int COLOR_GREEN = NDalicPINVOKE.Actor_Property_COLOR_GREEN_get();
\r
242 internal static readonly int COLOR_BLUE = NDalicPINVOKE.Actor_Property_COLOR_BLUE_get();
\r
243 internal static readonly int COLOR_ALPHA = NDalicPINVOKE.Actor_Property_COLOR_ALPHA_get();
\r
244 internal static readonly int WORLD_COLOR = NDalicPINVOKE.Actor_Property_WORLD_COLOR_get();
\r
245 internal static readonly int WORLD_MATRIX = NDalicPINVOKE.Actor_Property_WORLD_MATRIX_get();
\r
246 internal static readonly int NAME = NDalicPINVOKE.Actor_Property_NAME_get();
\r
247 internal static readonly int SENSITIVE = NDalicPINVOKE.Actor_Property_SENSITIVE_get();
\r
248 internal static readonly int LEAVE_REQUIRED = NDalicPINVOKE.Actor_Property_LEAVE_REQUIRED_get();
\r
249 internal static readonly int INHERIT_ORIENTATION = NDalicPINVOKE.Actor_Property_INHERIT_ORIENTATION_get();
\r
250 internal static readonly int INHERIT_SCALE = NDalicPINVOKE.Actor_Property_INHERIT_SCALE_get();
\r
251 internal static readonly int COLOR_MODE = NDalicPINVOKE.Actor_Property_COLOR_MODE_get();
\r
252 internal static readonly int POSITION_INHERITANCE = NDalicPINVOKE.Actor_Property_POSITION_INHERITANCE_get();
\r
253 internal static readonly int DRAW_MODE = NDalicPINVOKE.Actor_Property_DRAW_MODE_get();
\r
254 internal static readonly int SIZE_MODE_FACTOR = NDalicPINVOKE.Actor_Property_SIZE_MODE_FACTOR_get();
\r
255 internal static readonly int WIDTH_RESIZE_POLICY = NDalicPINVOKE.Actor_Property_WIDTH_RESIZE_POLICY_get();
\r
256 internal static readonly int HEIGHT_RESIZE_POLICY = NDalicPINVOKE.Actor_Property_HEIGHT_RESIZE_POLICY_get();
\r
257 internal static readonly int SIZE_SCALE_POLICY = NDalicPINVOKE.Actor_Property_SIZE_SCALE_POLICY_get();
\r
258 internal static readonly int WIDTH_FOR_HEIGHT = NDalicPINVOKE.Actor_Property_WIDTH_FOR_HEIGHT_get();
\r
259 internal static readonly int HEIGHT_FOR_WIDTH = NDalicPINVOKE.Actor_Property_HEIGHT_FOR_WIDTH_get();
\r
260 internal static readonly int PADDING = NDalicPINVOKE.Actor_Property_PADDING_get();
\r
261 internal static readonly int MINIMUM_SIZE = NDalicPINVOKE.Actor_Property_MINIMUM_SIZE_get();
\r
262 internal static readonly int MAXIMUM_SIZE = NDalicPINVOKE.Actor_Property_MAXIMUM_SIZE_get();
\r
263 internal static readonly int INHERIT_POSITION = NDalicPINVOKE.Actor_Property_INHERIT_POSITION_get();
\r
264 internal static readonly int CLIPPING_MODE = NDalicPINVOKE.Actor_Property_CLIPPING_MODE_get();
\r
268 public Actor() : this(NDalicPINVOKE.Actor_New(), true)
\r
270 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
273 public new static Actor DownCast(BaseHandle handle)
\r
275 Actor ret = new Actor(NDalicPINVOKE.Actor_DownCast(BaseHandle.getCPtr(handle)), true);
\r
276 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
280 internal Actor(Actor copy) : this(NDalicPINVOKE.new_Actor__SWIG_1(Actor.getCPtr(copy)), true)
\r
282 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
285 internal Actor Assign(Actor rhs)
\r
287 Actor ret = new Actor(NDalicPINVOKE.Actor_Assign(swigCPtr, Actor.getCPtr(rhs)), false);
\r
288 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
292 internal string GetName()
\r
294 string ret = NDalicPINVOKE.Actor_GetName(swigCPtr);
\r
295 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
299 internal void SetName(string name)
\r
301 NDalicPINVOKE.Actor_SetName(swigCPtr, name);
\r
302 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
305 internal uint GetId()
\r
307 uint ret = NDalicPINVOKE.Actor_GetId(swigCPtr);
\r
308 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
312 internal bool IsRoot()
\r
314 bool ret = NDalicPINVOKE.Actor_IsRoot(swigCPtr);
\r
315 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
319 internal bool OnStage()
\r
321 bool ret = NDalicPINVOKE.Actor_OnStage(swigCPtr);
\r
322 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
326 internal bool IsLayer()
\r
328 bool ret = NDalicPINVOKE.Actor_IsLayer(swigCPtr);
\r
329 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
333 internal Layer GetLayer()
\r
335 Layer ret = new Layer(NDalicPINVOKE.Actor_GetLayer(swigCPtr), true);
\r
336 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
340 public void Add(Actor child)
\r
342 NDalicPINVOKE.Actor_Add(swigCPtr, Actor.getCPtr(child));
\r
343 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
346 public void Remove(Actor child)
\r
348 NDalicPINVOKE.Actor_Remove(swigCPtr, Actor.getCPtr(child));
\r
349 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
352 internal void Unparent()
\r
354 NDalicPINVOKE.Actor_Unparent(swigCPtr);
\r
355 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
358 public uint GetChildCount()
\r
360 uint ret = NDalicPINVOKE.Actor_GetChildCount(swigCPtr);
\r
361 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
365 public Actor GetChildAt(uint index)
\r
367 Actor ret = new Actor(NDalicPINVOKE.Actor_GetChildAt(swigCPtr, index), true);
\r
368 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
372 public Actor FindChildByName(string actorName)
\r
374 Actor ret = new Actor(NDalicPINVOKE.Actor_FindChildByName(swigCPtr, actorName), true);
\r
375 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
379 internal Actor FindChildById(uint id)
\r
381 Actor ret = new Actor(NDalicPINVOKE.Actor_FindChildById(swigCPtr, id), true);
\r
382 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
386 internal Actor GetParent()
\r
388 Actor ret = new Actor(NDalicPINVOKE.Actor_GetParent(swigCPtr), true);
\r
389 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
393 internal void SetParentOrigin(Vector3 origin)
\r
395 NDalicPINVOKE.Actor_SetParentOrigin(swigCPtr, Vector3.getCPtr(origin));
\r
396 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
399 internal Vector3 GetCurrentParentOrigin()
\r
401 Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetCurrentParentOrigin(swigCPtr), true);
\r
402 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
406 internal void SetAnchorPoint(Vector3 anchorPoint)
\r
408 NDalicPINVOKE.Actor_SetAnchorPoint(swigCPtr, Vector3.getCPtr(anchorPoint));
\r
409 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
412 internal Vector3 GetCurrentAnchorPoint()
\r
414 Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetCurrentAnchorPoint(swigCPtr), true);
\r
415 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
419 internal void SetSize(float width, float height)
\r
421 NDalicPINVOKE.Actor_SetSize__SWIG_0(swigCPtr, width, height);
\r
422 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
425 internal void SetSize(float width, float height, float depth)
\r
427 NDalicPINVOKE.Actor_SetSize__SWIG_1(swigCPtr, width, height, depth);
\r
428 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
431 internal void SetSize(Vector2 size)
\r
433 NDalicPINVOKE.Actor_SetSize__SWIG_2(swigCPtr, Vector2.getCPtr(size));
\r
434 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
437 internal void SetSize(Vector3 size)
\r
439 NDalicPINVOKE.Actor_SetSize__SWIG_3(swigCPtr, Vector3.getCPtr(size));
\r
440 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
443 internal Vector3 GetTargetSize()
\r
445 Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetTargetSize(swigCPtr), true);
\r
446 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
450 internal Size GetCurrentSize()
\r
452 Size ret = new Size(NDalicPINVOKE.Actor_GetCurrentSize(swigCPtr), true);
\r
453 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
457 public Vector3 GetNaturalSize()
\r
459 Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetNaturalSize(swigCPtr), true);
\r
460 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
464 internal void SetPosition(float x, float y)
\r
466 NDalicPINVOKE.Actor_SetPosition__SWIG_0(swigCPtr, x, y);
\r
467 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
470 internal void SetPosition(float x, float y, float z)
\r
472 NDalicPINVOKE.Actor_SetPosition__SWIG_1(swigCPtr, x, y, z);
\r
473 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
476 internal void SetPosition(Vector3 position)
\r
478 NDalicPINVOKE.Actor_SetPosition__SWIG_2(swigCPtr, Vector3.getCPtr(position));
\r
479 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
482 internal void SetX(float x)
\r
484 NDalicPINVOKE.Actor_SetX(swigCPtr, x);
\r
485 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
488 internal void SetY(float y)
\r
490 NDalicPINVOKE.Actor_SetY(swigCPtr, y);
\r
491 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
494 internal void SetZ(float z)
\r
496 NDalicPINVOKE.Actor_SetZ(swigCPtr, z);
\r
497 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
500 internal void TranslateBy(Vector3 distance)
\r
502 NDalicPINVOKE.Actor_TranslateBy(swigCPtr, Vector3.getCPtr(distance));
\r
503 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
506 internal Position GetCurrentPosition()
\r
508 Position ret = new Position(NDalicPINVOKE.Actor_GetCurrentPosition(swigCPtr), true);
\r
509 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
513 internal Vector3 GetCurrentWorldPosition()
\r
515 Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetCurrentWorldPosition(swigCPtr), true);
\r
516 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
520 internal void SetInheritPosition(bool inherit)
\r
522 NDalicPINVOKE.Actor_SetInheritPosition(swigCPtr, inherit);
\r
523 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
526 internal PositionInheritanceMode GetPositionInheritanceMode()
\r
528 PositionInheritanceMode ret = (PositionInheritanceMode)NDalicPINVOKE.Actor_GetPositionInheritanceMode(swigCPtr);
\r
529 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
533 internal bool IsPositionInherited()
\r
535 bool ret = NDalicPINVOKE.Actor_IsPositionInherited(swigCPtr);
\r
536 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
540 internal void SetOrientation(Degree angle, Vector3 axis)
\r
542 NDalicPINVOKE.Actor_SetOrientation__SWIG_0(swigCPtr, Degree.getCPtr(angle), Vector3.getCPtr(axis));
\r
543 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
546 internal void SetOrientation(Radian angle, Vector3 axis)
\r
548 NDalicPINVOKE.Actor_SetOrientation__SWIG_1(swigCPtr, Radian.getCPtr(angle), Vector3.getCPtr(axis));
\r
549 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
552 internal void SetOrientation(Rotation orientation)
\r
554 NDalicPINVOKE.Actor_SetOrientation__SWIG_2(swigCPtr, Rotation.getCPtr(orientation));
\r
555 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
558 internal void RotateBy(Degree angle, Vector3 axis)
\r
560 NDalicPINVOKE.Actor_RotateBy__SWIG_0(swigCPtr, Degree.getCPtr(angle), Vector3.getCPtr(axis));
\r
561 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
564 internal void RotateBy(Radian angle, Vector3 axis)
\r
566 NDalicPINVOKE.Actor_RotateBy__SWIG_1(swigCPtr, Radian.getCPtr(angle), Vector3.getCPtr(axis));
\r
567 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
570 internal void RotateBy(Rotation relativeRotation)
\r
572 NDalicPINVOKE.Actor_RotateBy__SWIG_2(swigCPtr, Rotation.getCPtr(relativeRotation));
\r
573 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
576 internal Rotation GetCurrentOrientation()
\r
578 Rotation ret = new Rotation(NDalicPINVOKE.Actor_GetCurrentOrientation(swigCPtr), true);
\r
579 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
583 internal void SetInheritOrientation(bool inherit)
\r
585 NDalicPINVOKE.Actor_SetInheritOrientation(swigCPtr, inherit);
\r
586 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
589 internal bool IsOrientationInherited()
\r
591 bool ret = NDalicPINVOKE.Actor_IsOrientationInherited(swigCPtr);
\r
592 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
596 internal Rotation GetCurrentWorldOrientation()
\r
598 Rotation ret = new Rotation(NDalicPINVOKE.Actor_GetCurrentWorldOrientation(swigCPtr), true);
\r
599 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
603 internal void SetScale(float scale)
\r
605 NDalicPINVOKE.Actor_SetScale__SWIG_0(swigCPtr, scale);
\r
606 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
609 internal void SetScale(float scaleX, float scaleY, float scaleZ)
\r
611 NDalicPINVOKE.Actor_SetScale__SWIG_1(swigCPtr, scaleX, scaleY, scaleZ);
\r
612 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
615 internal void SetScale(Vector3 scale)
\r
617 NDalicPINVOKE.Actor_SetScale__SWIG_2(swigCPtr, Vector3.getCPtr(scale));
\r
618 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
621 internal void ScaleBy(Vector3 relativeScale)
\r
623 NDalicPINVOKE.Actor_ScaleBy(swigCPtr, Vector3.getCPtr(relativeScale));
\r
624 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
627 internal Vector3 GetCurrentScale()
\r
629 Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetCurrentScale(swigCPtr), true);
\r
630 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
634 internal Vector3 GetCurrentWorldScale()
\r
636 Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetCurrentWorldScale(swigCPtr), true);
\r
637 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
641 internal void SetInheritScale(bool inherit)
\r
643 NDalicPINVOKE.Actor_SetInheritScale(swigCPtr, inherit);
\r
644 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
647 internal bool IsScaleInherited()
\r
649 bool ret = NDalicPINVOKE.Actor_IsScaleInherited(swigCPtr);
\r
650 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
654 internal Matrix GetCurrentWorldMatrix()
\r
656 Matrix ret = new Matrix(NDalicPINVOKE.Actor_GetCurrentWorldMatrix(swigCPtr), true);
\r
657 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
661 internal void SetVisible(bool visible)
\r
663 NDalicPINVOKE.Actor_SetVisible(swigCPtr, visible);
\r
664 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
667 internal bool IsVisible()
\r
669 bool ret = NDalicPINVOKE.Actor_IsVisible(swigCPtr);
\r
670 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
674 internal void SetOpacity(float opacity)
\r
676 NDalicPINVOKE.Actor_SetOpacity(swigCPtr, opacity);
\r
677 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
680 internal float GetCurrentOpacity()
\r
682 float ret = NDalicPINVOKE.Actor_GetCurrentOpacity(swigCPtr);
\r
683 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
687 internal void SetColor(Vector4 color)
\r
689 NDalicPINVOKE.Actor_SetColor(swigCPtr, Vector4.getCPtr(color));
\r
690 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
693 internal Vector4 GetCurrentColor()
\r
695 Vector4 ret = new Vector4(NDalicPINVOKE.Actor_GetCurrentColor(swigCPtr), true);
\r
696 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
700 internal void SetColorMode(ColorMode colorMode)
\r
702 NDalicPINVOKE.Actor_SetColorMode(swigCPtr, (int)colorMode);
\r
703 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
706 internal ColorMode GetColorMode()
\r
708 ColorMode ret = (ColorMode)NDalicPINVOKE.Actor_GetColorMode(swigCPtr);
\r
709 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
713 internal Vector4 GetCurrentWorldColor()
\r
715 Vector4 ret = new Vector4(NDalicPINVOKE.Actor_GetCurrentWorldColor(swigCPtr), true);
\r
716 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
720 internal void SetDrawMode(DrawModeType drawMode)
\r
722 NDalicPINVOKE.Actor_SetDrawMode(swigCPtr, (int)drawMode);
\r
723 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
726 internal DrawModeType GetDrawMode()
\r
728 DrawModeType ret = (DrawModeType)NDalicPINVOKE.Actor_GetDrawMode(swigCPtr);
\r
729 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
733 internal void SetSensitive(bool sensitive)
\r
735 NDalicPINVOKE.Actor_SetSensitive(swigCPtr, sensitive);
\r
736 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
739 internal bool IsSensitive()
\r
741 bool ret = NDalicPINVOKE.Actor_IsSensitive(swigCPtr);
\r
742 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
746 public bool ScreenToLocal(out float localX, out float localY, float screenX, float screenY)
\r
748 bool ret = NDalicPINVOKE.Actor_ScreenToLocal(swigCPtr, out localX, out localY, screenX, screenY);
\r
749 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
753 internal void SetLeaveRequired(bool required)
\r
755 NDalicPINVOKE.Actor_SetLeaveRequired(swigCPtr, required);
\r
756 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
759 internal bool GetLeaveRequired()
\r
761 bool ret = NDalicPINVOKE.Actor_GetLeaveRequired(swigCPtr);
\r
762 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
766 internal void SetKeyboardFocusable(bool focusable)
\r
768 NDalicPINVOKE.Actor_SetKeyboardFocusable(swigCPtr, focusable);
\r
769 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
772 internal bool IsKeyboardFocusable()
\r
774 bool ret = NDalicPINVOKE.Actor_IsKeyboardFocusable(swigCPtr);
\r
775 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
779 internal void SetResizePolicy(ResizePolicyType policy, DimensionType dimension)
\r
781 NDalicPINVOKE.Actor_SetResizePolicy(swigCPtr, (int)policy, (int)dimension);
\r
782 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
785 internal ResizePolicyType GetResizePolicy(DimensionType dimension)
\r
787 ResizePolicyType ret = (ResizePolicyType)NDalicPINVOKE.Actor_GetResizePolicy(swigCPtr, (int)dimension);
\r
788 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
792 internal void SetSizeScalePolicy(SizeScalePolicyType policy)
\r
794 NDalicPINVOKE.Actor_SetSizeScalePolicy(swigCPtr, (int)policy);
\r
795 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
798 internal SizeScalePolicyType GetSizeScalePolicy()
\r
800 SizeScalePolicyType ret = (SizeScalePolicyType)NDalicPINVOKE.Actor_GetSizeScalePolicy(swigCPtr);
\r
801 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
805 internal void SetSizeModeFactor(Vector3 factor)
\r
807 NDalicPINVOKE.Actor_SetSizeModeFactor(swigCPtr, Vector3.getCPtr(factor));
\r
808 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
811 internal Vector3 GetSizeModeFactor()
\r
813 Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetSizeModeFactor(swigCPtr), true);
\r
814 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
818 public float GetHeightForWidth(float width)
\r
820 float ret = NDalicPINVOKE.Actor_GetHeightForWidth(swigCPtr, width);
\r
821 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
825 public float GetWidthForHeight(float height)
\r
827 float ret = NDalicPINVOKE.Actor_GetWidthForHeight(swigCPtr, height);
\r
828 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
832 internal float GetRelayoutSize(DimensionType dimension)
\r
834 float ret = NDalicPINVOKE.Actor_GetRelayoutSize(swigCPtr, (int)dimension);
\r
835 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
839 public void SetPadding(PaddingType padding)
\r
841 NDalicPINVOKE.Actor_SetPadding(swigCPtr, PaddingType.getCPtr(padding));
\r
842 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
845 public void GetPadding(PaddingType paddingOut)
\r
847 NDalicPINVOKE.Actor_GetPadding(swigCPtr, PaddingType.getCPtr(paddingOut));
\r
848 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
851 internal void SetMinimumSize(Vector2 size)
\r
853 NDalicPINVOKE.Actor_SetMinimumSize(swigCPtr, Vector2.getCPtr(size));
\r
854 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
857 internal Vector2 GetMinimumSize()
\r
859 Vector2 ret = new Vector2(NDalicPINVOKE.Actor_GetMinimumSize(swigCPtr), true);
\r
860 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
864 internal void SetMaximumSize(Vector2 size)
\r
866 NDalicPINVOKE.Actor_SetMaximumSize(swigCPtr, Vector2.getCPtr(size));
\r
867 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
870 internal Vector2 GetMaximumSize()
\r
872 Vector2 ret = new Vector2(NDalicPINVOKE.Actor_GetMaximumSize(swigCPtr), true);
\r
873 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
877 internal int GetHierarchyDepth()
\r
879 int ret = NDalicPINVOKE.Actor_GetHierarchyDepth(swigCPtr);
\r
880 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
884 internal uint AddRenderer(Renderer renderer)
\r
886 uint ret = NDalicPINVOKE.Actor_AddRenderer(swigCPtr, Renderer.getCPtr(renderer));
\r
887 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
891 internal uint GetRendererCount()
\r
893 uint ret = NDalicPINVOKE.Actor_GetRendererCount(swigCPtr);
\r
894 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
898 internal Renderer GetRendererAt(uint index)
\r
900 Renderer ret = new Renderer(NDalicPINVOKE.Actor_GetRendererAt(swigCPtr, index), true);
\r
901 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
905 internal void RemoveRenderer(Renderer renderer)
\r
907 NDalicPINVOKE.Actor_RemoveRenderer__SWIG_0(swigCPtr, Renderer.getCPtr(renderer));
\r
908 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
911 internal void RemoveRenderer(uint index)
\r
913 NDalicPINVOKE.Actor_RemoveRenderer__SWIG_1(swigCPtr, index);
\r
914 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
917 internal SWIGTYPE_p_Dali__SignalT_bool_fDali__Actor_Dali__TouchEvent_const_RF_t TouchedSignal()
\r
919 SWIGTYPE_p_Dali__SignalT_bool_fDali__Actor_Dali__TouchEvent_const_RF_t ret = new SWIGTYPE_p_Dali__SignalT_bool_fDali__Actor_Dali__TouchEvent_const_RF_t(NDalicPINVOKE.Actor_TouchedSignal(swigCPtr), false);
\r
920 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
924 internal ActorTouchDataSignal TouchSignal()
\r
926 ActorTouchDataSignal ret = new ActorTouchDataSignal(NDalicPINVOKE.Actor_TouchSignal(swigCPtr), false);
\r
927 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
931 internal ActorHoverSignal HoveredSignal()
\r
933 ActorHoverSignal ret = new ActorHoverSignal(NDalicPINVOKE.Actor_HoveredSignal(swigCPtr), false);
\r
934 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
938 internal ActorWheelSignal WheelEventSignal()
\r
940 ActorWheelSignal ret = new ActorWheelSignal(NDalicPINVOKE.Actor_WheelEventSignal(swigCPtr), false);
\r
941 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
945 internal ActorSignal OnStageSignal()
\r
947 ActorSignal ret = new ActorSignal(NDalicPINVOKE.Actor_OnStageSignal(swigCPtr), false);
\r
948 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
952 internal ActorSignal OffStageSignal()
\r
954 ActorSignal ret = new ActorSignal(NDalicPINVOKE.Actor_OffStageSignal(swigCPtr), false);
\r
955 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
959 internal ActorSignal OnRelayoutSignal()
\r
961 ActorSignal ret = new ActorSignal(NDalicPINVOKE.Actor_OnRelayoutSignal(swigCPtr), false);
\r
962 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
966 public Position ParentOrigin
\r
970 Position temp = new Position(0.0f, 0.0f, 0.0f);
\r
971 GetProperty(Actor.Property.PARENT_ORIGIN).Get(temp);
\r
976 SetProperty(Actor.Property.PARENT_ORIGIN, new Tizen.NUI.PropertyValue(value));
\r
980 public Position AnchorPoint
\r
984 Position temp = new Position(0.0f, 0.0f, 0.0f);
\r
985 GetProperty(Actor.Property.ANCHOR_POINT).Get(temp);
\r
990 SetProperty(Actor.Property.ANCHOR_POINT, new Tizen.NUI.PropertyValue(value));
\r
998 Size temp = GetCurrentSize();
\r
1003 SetProperty(Actor.Property.SIZE, new Tizen.NUI.PropertyValue(value));
\r
1006 public float SizeWidth
\r
1010 float temp = 0.0f;
\r
1011 GetProperty(Actor.Property.SIZE_WIDTH).Get(ref temp);
\r
1016 SetProperty(Actor.Property.SIZE_WIDTH, new Tizen.NUI.PropertyValue(value));
\r
1019 public float SizeHeight
\r
1023 float temp = 0.0f;
\r
1024 GetProperty(Actor.Property.SIZE_HEIGHT).Get(ref temp);
\r
1029 SetProperty(Actor.Property.SIZE_HEIGHT, new Tizen.NUI.PropertyValue(value));
\r
1032 public float SizeDepth
\r
1036 float temp = 0.0f;
\r
1037 GetProperty(Actor.Property.SIZE_DEPTH).Get(ref temp);
\r
1042 SetProperty(Actor.Property.SIZE_DEPTH, new Tizen.NUI.PropertyValue(value));
\r
1045 public Position Position
\r
1049 Position temp = GetCurrentPosition();
\r
1054 SetProperty(Actor.Property.POSITION, new Tizen.NUI.PropertyValue(value));
\r
1057 public float PositionX
\r
1061 float temp = 0.0f;
\r
1062 GetProperty(Actor.Property.POSITION_X).Get(ref temp);
\r
1067 SetProperty(Actor.Property.POSITION_X, new Tizen.NUI.PropertyValue(value));
\r
1070 public float PositionY
\r
1074 float temp = 0.0f;
\r
1075 GetProperty(Actor.Property.POSITION_Y).Get(ref temp);
\r
1080 SetProperty(Actor.Property.POSITION_Y, new Tizen.NUI.PropertyValue(value));
\r
1083 public float PositionZ
\r
1087 float temp = 0.0f;
\r
1088 GetProperty(Actor.Property.POSITION_Z).Get(ref temp);
\r
1093 SetProperty(Actor.Property.POSITION_Z, new Tizen.NUI.PropertyValue(value));
\r
1096 public Vector3 WorldPosition
\r
1100 Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);
\r
1101 GetProperty(Actor.Property.WORLD_POSITION).Get(temp);
\r
1106 public Rotation Orientation
\r
1110 Rotation temp = new Rotation();
\r
1111 GetProperty(Actor.Property.ORIENTATION).Get(temp);
\r
1116 SetProperty(Actor.Property.ORIENTATION, new Tizen.NUI.PropertyValue(value));
\r
1119 public Rotation WorldOrientation
\r
1123 Rotation temp = new Rotation();
\r
1124 GetProperty(Actor.Property.WORLD_ORIENTATION).Get(temp);
\r
1128 public Vector3 Scale
\r
1132 Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);
\r
1133 GetProperty(Actor.Property.SCALE).Get(temp);
\r
1138 SetProperty(Actor.Property.SCALE, new Tizen.NUI.PropertyValue(value));
\r
1141 public float ScaleX
\r
1145 float temp = 0.0f;
\r
1146 GetProperty(Actor.Property.SCALE_X).Get(ref temp);
\r
1151 SetProperty(Actor.Property.SCALE_X, new Tizen.NUI.PropertyValue(value));
\r
1154 public float ScaleY
\r
1158 float temp = 0.0f;
\r
1159 GetProperty(Actor.Property.SCALE_Y).Get(ref temp);
\r
1164 SetProperty(Actor.Property.SCALE_Y, new Tizen.NUI.PropertyValue(value));
\r
1167 public float ScaleZ
\r
1171 float temp = 0.0f;
\r
1172 GetProperty(Actor.Property.SCALE_Z).Get(ref temp);
\r
1177 SetProperty(Actor.Property.SCALE_Z, new Tizen.NUI.PropertyValue(value));
\r
1180 public Vector3 WorldScale
\r
1184 Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);
\r
1185 GetProperty(Actor.Property.WORLD_SCALE).Get(temp);
\r
1189 public bool Visible
\r
1193 bool temp = false;
\r
1194 GetProperty(Actor.Property.VISIBLE).Get(ref temp);
\r
1199 SetProperty(Actor.Property.VISIBLE, new Tizen.NUI.PropertyValue(value));
\r
1202 public Color MixColor
\r
1206 Color temp = new Color(0.0f, 0.0f, 0.0f, 0.0f);
\r
1207 GetProperty(Actor.Property.COLOR).Get(temp);
\r
1212 SetProperty(Actor.Property.COLOR, new Tizen.NUI.PropertyValue(value));
\r
1215 public float ColorRed
\r
1219 float temp = 0.0f;
\r
1220 GetProperty(Actor.Property.COLOR_RED).Get(ref temp);
\r
1225 SetProperty(Actor.Property.COLOR_RED, new Tizen.NUI.PropertyValue(value));
\r
1228 public float ColorGreen
\r
1232 float temp = 0.0f;
\r
1233 GetProperty(Actor.Property.COLOR_GREEN).Get(ref temp);
\r
1238 SetProperty(Actor.Property.COLOR_GREEN, new Tizen.NUI.PropertyValue(value));
\r
1241 public float ColorBlue
\r
1245 float temp = 0.0f;
\r
1246 GetProperty(Actor.Property.COLOR_BLUE).Get(ref temp);
\r
1251 SetProperty(Actor.Property.COLOR_BLUE, new Tizen.NUI.PropertyValue(value));
\r
1254 public float ColorAlpha
\r
1258 float temp = 0.0f;
\r
1259 GetProperty(Actor.Property.COLOR_ALPHA).Get(ref temp);
\r
1264 SetProperty(Actor.Property.COLOR_ALPHA, new Tizen.NUI.PropertyValue(value));
\r
1267 public Color WorldColor
\r
1271 Color temp = new Color(0.0f, 0.0f, 0.0f, 0.0f);
\r
1272 GetProperty(Actor.Property.WORLD_COLOR).Get(temp);
\r
1277 public string Name
\r
1282 GetProperty(Actor.Property.NAME).Get(out temp);
\r
1287 SetProperty(Actor.Property.NAME, new Tizen.NUI.PropertyValue(value));
\r
1290 public bool Sensitive
\r
1294 bool temp = false;
\r
1295 GetProperty(Actor.Property.SENSITIVE).Get(ref temp);
\r
1300 SetProperty(Actor.Property.SENSITIVE, new Tizen.NUI.PropertyValue(value));
\r
1303 public bool LeaveRequired
\r
1307 bool temp = false;
\r
1308 GetProperty(Actor.Property.LEAVE_REQUIRED).Get(ref temp);
\r
1313 SetProperty(Actor.Property.LEAVE_REQUIRED, new Tizen.NUI.PropertyValue(value));
\r
1316 public bool InheritOrientation
\r
1320 bool temp = false;
\r
1321 GetProperty(Actor.Property.INHERIT_ORIENTATION).Get(ref temp);
\r
1326 SetProperty(Actor.Property.INHERIT_ORIENTATION, new Tizen.NUI.PropertyValue(value));
\r
1329 public bool InheritScale
\r
1333 bool temp = false;
\r
1334 GetProperty(Actor.Property.INHERIT_SCALE).Get(ref temp);
\r
1339 SetProperty(Actor.Property.INHERIT_SCALE, new Tizen.NUI.PropertyValue(value));
\r
1343 public ColorMode ColorMode
\r
1348 if (GetProperty(Actor.Property.COLOR_MODE).Get(out temp) == false)
\r
1350 //Tizen.Log.Error("NUI", "ColorMode get error!");
\r
1354 case "USE_OWN_COLOR":
\r
1355 return ColorMode.UseOwnColor;
\r
1356 case "USE_PARENT_COLOR":
\r
1357 return ColorMode.UseParentColor;
\r
1358 case "USE_OWN_MULTIPLY_PARENT_COLOR":
\r
1359 return ColorMode.UseOwnMultiplyParentColor;
\r
1360 case "USE_OWN_MULTIPLY_PARENT_ALPHA":
\r
1361 return ColorMode.UseOwnMultiplyParentAlpha;
\r
1363 return ColorMode.UseOwnColor;
\r
1368 SetProperty(Actor.Property.COLOR_MODE, new Tizen.NUI.PropertyValue((int)value));
\r
1372 public DrawModeType DrawMode
\r
1377 if (GetProperty(Actor.Property.DRAW_MODE).Get(out temp) == false)
\r
1379 //Tizen.Log.Error("NUI", "DrawMode get error!");
\r
1384 return DrawModeType.Normal;
\r
1385 case "OVERLAY_2D":
\r
1386 return DrawModeType.Overlay2D;
\r
1388 return DrawModeType.Stencil;
\r
1390 return DrawModeType.Normal;
\r
1395 SetProperty(Actor.Property.DRAW_MODE, new Tizen.NUI.PropertyValue((int)value));
\r
1398 public Vector3 SizeModeFactor
\r
1402 Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);
\r
1403 GetProperty(Actor.Property.SIZE_MODE_FACTOR).Get(temp);
\r
1408 SetProperty(Actor.Property.SIZE_MODE_FACTOR, new Tizen.NUI.PropertyValue(value));
\r
1412 public ResizePolicyType WidthResizePolicy
\r
1417 if (GetProperty(Actor.Property.WIDTH_RESIZE_POLICY).Get(out temp) == false)
\r
1419 //Tizen.Log.Error("NUI", "WidthResizePolicy get error!");
\r
1424 return ResizePolicyType.Fixed;
\r
1425 case "USE_NATURAL_SIZE":
\r
1426 return ResizePolicyType.UseNaturalSize;
\r
1427 case "FILL_TO_PARENT":
\r
1428 return ResizePolicyType.FillToParent;
\r
1429 case "SIZE_RELATIVE_TO_PARENT":
\r
1430 return ResizePolicyType.SizeRelativeToParent;
\r
1431 case "SIZE_FIXED_OFFSET_FROM_PARENT":
\r
1432 return ResizePolicyType.SizeFixedOffsetFromParent;
\r
1433 case "FIT_TO_CHILDREN":
\r
1434 return ResizePolicyType.FitToChildren;
\r
1435 case "DIMENSION_DEPENDENCY":
\r
1436 return ResizePolicyType.DimensionDependency;
\r
1437 case "USE_ASSIGNED_SIZE":
\r
1438 return ResizePolicyType.UseAssignedSize;
\r
1440 return ResizePolicyType.Fixed;
\r
1445 SetProperty(Actor.Property.WIDTH_RESIZE_POLICY, new Tizen.NUI.PropertyValue((int)value));
\r
1449 public ResizePolicyType HeightResizePolicy
\r
1454 if (GetProperty(Actor.Property.HEIGHT_RESIZE_POLICY).Get(out temp) == false)
\r
1456 //Tizen.Log.Error("NUI", "HeightResizePolicy get error!");
\r
1461 return ResizePolicyType.Fixed;
\r
1462 case "USE_NATURAL_SIZE":
\r
1463 return ResizePolicyType.UseNaturalSize;
\r
1464 case "FILL_TO_PARENT":
\r
1465 return ResizePolicyType.FillToParent;
\r
1466 case "SIZE_RELATIVE_TO_PARENT":
\r
1467 return ResizePolicyType.SizeRelativeToParent;
\r
1468 case "SIZE_FIXED_OFFSET_FROM_PARENT":
\r
1469 return ResizePolicyType.SizeFixedOffsetFromParent;
\r
1470 case "FIT_TO_CHILDREN":
\r
1471 return ResizePolicyType.FitToChildren;
\r
1472 case "DIMENSION_DEPENDENCY":
\r
1473 return ResizePolicyType.DimensionDependency;
\r
1474 case "USE_ASSIGNED_SIZE":
\r
1475 return ResizePolicyType.UseAssignedSize;
\r
1477 return ResizePolicyType.Fixed;
\r
1482 SetProperty(Actor.Property.HEIGHT_RESIZE_POLICY, new Tizen.NUI.PropertyValue((int)value));
\r
1486 public SizeScalePolicyType SizeScalePolicy
\r
1491 if (GetProperty(Actor.Property.SIZE_SCALE_POLICY).Get(out temp) == false)
\r
1493 //Tizen.Log.Error("NUI", "SizeScalePolicy get error!");
\r
1497 case "USE_SIZE_SET":
\r
1498 return SizeScalePolicyType.UseSizeSet;
\r
1499 case "FIT_WITH_ASPECT_RATIO":
\r
1500 return SizeScalePolicyType.FitWithAspectRatio;
\r
1501 case "FILL_WITH_ASPECT_RATIO":
\r
1502 return SizeScalePolicyType.FillWithAspectRatio;
\r
1504 return SizeScalePolicyType.UseSizeSet;
\r
1509 SetProperty(Actor.Property.SIZE_SCALE_POLICY, new Tizen.NUI.PropertyValue((int)value));
\r
1513 public bool WidthDependentOnHeight
\r
1517 bool temp = false;
\r
1518 GetProperty(Actor.Property.WIDTH_FOR_HEIGHT).Get(ref temp);
\r
1523 SetProperty(Actor.Property.WIDTH_FOR_HEIGHT, new Tizen.NUI.PropertyValue(value));
\r
1526 public bool HeightDependentOnWidth
\r
1530 bool temp = false;
\r
1531 GetProperty(Actor.Property.HEIGHT_FOR_WIDTH).Get(ref temp);
\r
1536 SetProperty(Actor.Property.HEIGHT_FOR_WIDTH, new Tizen.NUI.PropertyValue(value));
\r
1539 public Vector4 Padding
\r
1543 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
\r
1544 GetProperty(Actor.Property.PADDING).Get(temp);
\r
1549 SetProperty(Actor.Property.PADDING, new Tizen.NUI.PropertyValue(value));
\r
1553 public Size2D MinimumSize
\r
1557 Size2D temp = new Size2D(0.0f, 0.0f);
\r
1558 GetProperty(Actor.Property.MINIMUM_SIZE).Get(temp);
\r
1563 SetProperty(Actor.Property.MINIMUM_SIZE, new Tizen.NUI.PropertyValue(value));
\r
1567 public Size2D MaximumSize
\r
1571 Size2D temp = new Size2D(0.0f, 0.0f);
\r
1572 GetProperty(Actor.Property.MAXIMUM_SIZE).Get(temp);
\r
1577 SetProperty(Actor.Property.MAXIMUM_SIZE, new Tizen.NUI.PropertyValue(value));
\r
1580 public bool InheritPosition
\r
1584 bool temp = false;
\r
1585 GetProperty(Actor.Property.INHERIT_POSITION).Get(ref temp);
\r
1590 SetProperty(Actor.Property.INHERIT_POSITION, new Tizen.NUI.PropertyValue(value));
\r
1594 public ClippingModeType ClippingMode
\r
1599 if (GetProperty(Actor.Property.CLIPPING_MODE).Get(out temp) == false)
\r
1601 //Tizen.Log.Error("NUI", "ClippingMode get error!");
\r
1606 return ClippingModeType.Disabled;
\r
1607 case "CLIP_CHILDREN":
\r
1608 return ClippingModeType.ClipChildren;
\r
1610 return ClippingModeType.Disabled;
\r
1615 SetProperty(Actor.Property.CLIPPING_MODE, new Tizen.NUI.PropertyValue((int)value));
\r
1621 public enum ColorMode
\r
1625 UseOwnMultiplyParentColor,
\r
1626 UseOwnMultiplyParentAlpha
\r
1629 public enum DimensionType
\r
1633 AllDimensions = 0x3
\r
1636 public enum DrawModeType
\r
1642 public enum ResizePolicyType
\r
1647 SizeRelativeToParent,
\r
1648 SizeFixedOffsetFromParent,
\r
1650 DimensionDependency,
\r
1653 public enum SizeScalePolicyType
\r
1656 FitWithAspectRatio,
\r
1657 FillWithAspectRatio
\r
1659 public enum ClippingModeType
\r