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 Size temp = GetCurrentSize();
\r
1011 return temp.Width;
\r
1015 SetProperty(Actor.Property.SIZE_WIDTH, new Tizen.NUI.PropertyValue(value));
\r
1018 public float SizeHeight
\r
1022 Size temp = GetCurrentSize();
\r
1023 return temp.Height;
\r
1027 SetProperty(Actor.Property.SIZE_HEIGHT, new Tizen.NUI.PropertyValue(value));
\r
1030 public float SizeDepth
\r
1034 Size temp = GetCurrentSize();
\r
1035 return temp.Depth;
\r
1039 SetProperty(Actor.Property.SIZE_DEPTH, new Tizen.NUI.PropertyValue(value));
\r
1042 public Position Position
\r
1046 Position temp = GetCurrentPosition();
\r
1051 SetProperty(Actor.Property.POSITION, new Tizen.NUI.PropertyValue(value));
\r
1054 public float PositionX
\r
1058 Position temp = GetCurrentPosition();
\r
1063 SetProperty(Actor.Property.POSITION_X, new Tizen.NUI.PropertyValue(value));
\r
1066 public float PositionY
\r
1070 Position temp = GetCurrentPosition();
\r
1075 SetProperty(Actor.Property.POSITION_Y, new Tizen.NUI.PropertyValue(value));
\r
1078 public float PositionZ
\r
1082 Position temp = GetCurrentPosition();
\r
1087 SetProperty(Actor.Property.POSITION_Z, new Tizen.NUI.PropertyValue(value));
\r
1090 public Vector3 WorldPosition
\r
1094 Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);
\r
1095 GetProperty(Actor.Property.WORLD_POSITION).Get(temp);
\r
1100 public Rotation Orientation
\r
1104 Rotation temp = new Rotation();
\r
1105 GetProperty(Actor.Property.ORIENTATION).Get(temp);
\r
1110 SetProperty(Actor.Property.ORIENTATION, new Tizen.NUI.PropertyValue(value));
\r
1113 public Rotation WorldOrientation
\r
1117 Rotation temp = new Rotation();
\r
1118 GetProperty(Actor.Property.WORLD_ORIENTATION).Get(temp);
\r
1122 public Vector3 Scale
\r
1126 Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);
\r
1127 GetProperty(Actor.Property.SCALE).Get(temp);
\r
1132 SetProperty(Actor.Property.SCALE, new Tizen.NUI.PropertyValue(value));
\r
1135 public float ScaleX
\r
1139 float temp = 0.0f;
\r
1140 GetProperty(Actor.Property.SCALE_X).Get(ref temp);
\r
1145 SetProperty(Actor.Property.SCALE_X, new Tizen.NUI.PropertyValue(value));
\r
1148 public float ScaleY
\r
1152 float temp = 0.0f;
\r
1153 GetProperty(Actor.Property.SCALE_Y).Get(ref temp);
\r
1158 SetProperty(Actor.Property.SCALE_Y, new Tizen.NUI.PropertyValue(value));
\r
1161 public float ScaleZ
\r
1165 float temp = 0.0f;
\r
1166 GetProperty(Actor.Property.SCALE_Z).Get(ref temp);
\r
1171 SetProperty(Actor.Property.SCALE_Z, new Tizen.NUI.PropertyValue(value));
\r
1174 public Vector3 WorldScale
\r
1178 Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);
\r
1179 GetProperty(Actor.Property.WORLD_SCALE).Get(temp);
\r
1183 public bool Visible
\r
1187 bool temp = false;
\r
1188 GetProperty(Actor.Property.VISIBLE).Get(ref temp);
\r
1193 SetProperty(Actor.Property.VISIBLE, new Tizen.NUI.PropertyValue(value));
\r
1196 public Color MixColor
\r
1200 Color temp = new Color(0.0f, 0.0f, 0.0f, 0.0f);
\r
1201 GetProperty(Actor.Property.COLOR).Get(temp);
\r
1206 SetProperty(Actor.Property.COLOR, new Tizen.NUI.PropertyValue(value));
\r
1209 public float ColorRed
\r
1213 float temp = 0.0f;
\r
1214 GetProperty(Actor.Property.COLOR_RED).Get(ref temp);
\r
1219 SetProperty(Actor.Property.COLOR_RED, new Tizen.NUI.PropertyValue(value));
\r
1222 public float ColorGreen
\r
1226 float temp = 0.0f;
\r
1227 GetProperty(Actor.Property.COLOR_GREEN).Get(ref temp);
\r
1232 SetProperty(Actor.Property.COLOR_GREEN, new Tizen.NUI.PropertyValue(value));
\r
1235 public float ColorBlue
\r
1239 float temp = 0.0f;
\r
1240 GetProperty(Actor.Property.COLOR_BLUE).Get(ref temp);
\r
1245 SetProperty(Actor.Property.COLOR_BLUE, new Tizen.NUI.PropertyValue(value));
\r
1248 public float ColorAlpha
\r
1252 float temp = 0.0f;
\r
1253 GetProperty(Actor.Property.COLOR_ALPHA).Get(ref temp);
\r
1258 SetProperty(Actor.Property.COLOR_ALPHA, new Tizen.NUI.PropertyValue(value));
\r
1261 public Color WorldColor
\r
1265 Color temp = new Color(0.0f, 0.0f, 0.0f, 0.0f);
\r
1266 GetProperty(Actor.Property.WORLD_COLOR).Get(temp);
\r
1271 public string Name
\r
1276 GetProperty(Actor.Property.NAME).Get(out temp);
\r
1281 SetProperty(Actor.Property.NAME, new Tizen.NUI.PropertyValue(value));
\r
1284 public bool Sensitive
\r
1288 bool temp = false;
\r
1289 GetProperty(Actor.Property.SENSITIVE).Get(ref temp);
\r
1294 SetProperty(Actor.Property.SENSITIVE, new Tizen.NUI.PropertyValue(value));
\r
1297 public bool LeaveRequired
\r
1301 bool temp = false;
\r
1302 GetProperty(Actor.Property.LEAVE_REQUIRED).Get(ref temp);
\r
1307 SetProperty(Actor.Property.LEAVE_REQUIRED, new Tizen.NUI.PropertyValue(value));
\r
1310 public bool InheritOrientation
\r
1314 bool temp = false;
\r
1315 GetProperty(Actor.Property.INHERIT_ORIENTATION).Get(ref temp);
\r
1320 SetProperty(Actor.Property.INHERIT_ORIENTATION, new Tizen.NUI.PropertyValue(value));
\r
1323 public bool InheritScale
\r
1327 bool temp = false;
\r
1328 GetProperty(Actor.Property.INHERIT_SCALE).Get(ref temp);
\r
1333 SetProperty(Actor.Property.INHERIT_SCALE, new Tizen.NUI.PropertyValue(value));
\r
1337 public ColorMode ColorMode
\r
1342 if (GetProperty(Actor.Property.COLOR_MODE).Get(out temp) == false)
\r
1344 //Tizen.Log.Error("NUI", "ColorMode get error!");
\r
1348 case "USE_OWN_COLOR":
\r
1349 return ColorMode.UseOwnColor;
\r
1350 case "USE_PARENT_COLOR":
\r
1351 return ColorMode.UseParentColor;
\r
1352 case "USE_OWN_MULTIPLY_PARENT_COLOR":
\r
1353 return ColorMode.UseOwnMultiplyParentColor;
\r
1354 case "USE_OWN_MULTIPLY_PARENT_ALPHA":
\r
1355 return ColorMode.UseOwnMultiplyParentAlpha;
\r
1357 return ColorMode.UseOwnColor;
\r
1362 SetProperty(Actor.Property.COLOR_MODE, new Tizen.NUI.PropertyValue((int)value));
\r
1366 public DrawModeType DrawMode
\r
1371 if (GetProperty(Actor.Property.DRAW_MODE).Get(out temp) == false)
\r
1373 //Tizen.Log.Error("NUI", "DrawMode get error!");
\r
1378 return DrawModeType.Normal;
\r
1379 case "OVERLAY_2D":
\r
1380 return DrawModeType.Overlay2D;
\r
1382 return DrawModeType.Stencil;
\r
1384 return DrawModeType.Normal;
\r
1389 SetProperty(Actor.Property.DRAW_MODE, new Tizen.NUI.PropertyValue((int)value));
\r
1392 public Vector3 SizeModeFactor
\r
1396 Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);
\r
1397 GetProperty(Actor.Property.SIZE_MODE_FACTOR).Get(temp);
\r
1402 SetProperty(Actor.Property.SIZE_MODE_FACTOR, new Tizen.NUI.PropertyValue(value));
\r
1406 public ResizePolicyType WidthResizePolicy
\r
1411 if (GetProperty(Actor.Property.WIDTH_RESIZE_POLICY).Get(out temp) == false)
\r
1413 //Tizen.Log.Error("NUI", "WidthResizePolicy get error!");
\r
1418 return ResizePolicyType.Fixed;
\r
1419 case "USE_NATURAL_SIZE":
\r
1420 return ResizePolicyType.UseNaturalSize;
\r
1421 case "FILL_TO_PARENT":
\r
1422 return ResizePolicyType.FillToParent;
\r
1423 case "SIZE_RELATIVE_TO_PARENT":
\r
1424 return ResizePolicyType.SizeRelativeToParent;
\r
1425 case "SIZE_FIXED_OFFSET_FROM_PARENT":
\r
1426 return ResizePolicyType.SizeFixedOffsetFromParent;
\r
1427 case "FIT_TO_CHILDREN":
\r
1428 return ResizePolicyType.FitToChildren;
\r
1429 case "DIMENSION_DEPENDENCY":
\r
1430 return ResizePolicyType.DimensionDependency;
\r
1431 case "USE_ASSIGNED_SIZE":
\r
1432 return ResizePolicyType.UseAssignedSize;
\r
1434 return ResizePolicyType.Fixed;
\r
1439 SetProperty(Actor.Property.WIDTH_RESIZE_POLICY, new Tizen.NUI.PropertyValue((int)value));
\r
1443 public ResizePolicyType HeightResizePolicy
\r
1448 if (GetProperty(Actor.Property.HEIGHT_RESIZE_POLICY).Get(out temp) == false)
\r
1450 //Tizen.Log.Error("NUI", "HeightResizePolicy get error!");
\r
1455 return ResizePolicyType.Fixed;
\r
1456 case "USE_NATURAL_SIZE":
\r
1457 return ResizePolicyType.UseNaturalSize;
\r
1458 case "FILL_TO_PARENT":
\r
1459 return ResizePolicyType.FillToParent;
\r
1460 case "SIZE_RELATIVE_TO_PARENT":
\r
1461 return ResizePolicyType.SizeRelativeToParent;
\r
1462 case "SIZE_FIXED_OFFSET_FROM_PARENT":
\r
1463 return ResizePolicyType.SizeFixedOffsetFromParent;
\r
1464 case "FIT_TO_CHILDREN":
\r
1465 return ResizePolicyType.FitToChildren;
\r
1466 case "DIMENSION_DEPENDENCY":
\r
1467 return ResizePolicyType.DimensionDependency;
\r
1468 case "USE_ASSIGNED_SIZE":
\r
1469 return ResizePolicyType.UseAssignedSize;
\r
1471 return ResizePolicyType.Fixed;
\r
1476 SetProperty(Actor.Property.HEIGHT_RESIZE_POLICY, new Tizen.NUI.PropertyValue((int)value));
\r
1480 public SizeScalePolicyType SizeScalePolicy
\r
1485 if (GetProperty(Actor.Property.SIZE_SCALE_POLICY).Get(out temp) == false)
\r
1487 //Tizen.Log.Error("NUI", "SizeScalePolicy get error!");
\r
1491 case "USE_SIZE_SET":
\r
1492 return SizeScalePolicyType.UseSizeSet;
\r
1493 case "FIT_WITH_ASPECT_RATIO":
\r
1494 return SizeScalePolicyType.FitWithAspectRatio;
\r
1495 case "FILL_WITH_ASPECT_RATIO":
\r
1496 return SizeScalePolicyType.FillWithAspectRatio;
\r
1498 return SizeScalePolicyType.UseSizeSet;
\r
1503 SetProperty(Actor.Property.SIZE_SCALE_POLICY, new Tizen.NUI.PropertyValue((int)value));
\r
1507 public bool WidthDependentOnHeight
\r
1511 bool temp = false;
\r
1512 GetProperty(Actor.Property.WIDTH_FOR_HEIGHT).Get(ref temp);
\r
1517 SetProperty(Actor.Property.WIDTH_FOR_HEIGHT, new Tizen.NUI.PropertyValue(value));
\r
1520 public bool HeightDependentOnWidth
\r
1524 bool temp = false;
\r
1525 GetProperty(Actor.Property.HEIGHT_FOR_WIDTH).Get(ref temp);
\r
1530 SetProperty(Actor.Property.HEIGHT_FOR_WIDTH, new Tizen.NUI.PropertyValue(value));
\r
1533 public Vector4 Padding
\r
1537 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
\r
1538 GetProperty(Actor.Property.PADDING).Get(temp);
\r
1543 SetProperty(Actor.Property.PADDING, new Tizen.NUI.PropertyValue(value));
\r
1547 public Size2D MinimumSize
\r
1551 Size2D temp = new Size2D(0.0f, 0.0f);
\r
1552 GetProperty(Actor.Property.MINIMUM_SIZE).Get(temp);
\r
1557 SetProperty(Actor.Property.MINIMUM_SIZE, new Tizen.NUI.PropertyValue(value));
\r
1561 public Size2D MaximumSize
\r
1565 Size2D temp = new Size2D(0.0f, 0.0f);
\r
1566 GetProperty(Actor.Property.MAXIMUM_SIZE).Get(temp);
\r
1571 SetProperty(Actor.Property.MAXIMUM_SIZE, new Tizen.NUI.PropertyValue(value));
\r
1574 public bool InheritPosition
\r
1578 bool temp = false;
\r
1579 GetProperty(Actor.Property.INHERIT_POSITION).Get(ref temp);
\r
1584 SetProperty(Actor.Property.INHERIT_POSITION, new Tizen.NUI.PropertyValue(value));
\r
1588 public ClippingModeType ClippingMode
\r
1593 if (GetProperty(Actor.Property.CLIPPING_MODE).Get(out temp) == false)
\r
1595 //Tizen.Log.Error("NUI", "ClippingMode get error!");
\r
1600 return ClippingModeType.Disabled;
\r
1601 case "CLIP_CHILDREN":
\r
1602 return ClippingModeType.ClipChildren;
\r
1604 return ClippingModeType.Disabled;
\r
1609 SetProperty(Actor.Property.CLIPPING_MODE, new Tizen.NUI.PropertyValue((int)value));
\r
1615 public enum ColorMode
\r
1619 UseOwnMultiplyParentColor,
\r
1620 UseOwnMultiplyParentAlpha
\r
1623 public enum DimensionType
\r
1627 AllDimensions = 0x3
\r
1630 public enum DrawModeType
\r
1636 public enum ResizePolicyType
\r
1641 SizeRelativeToParent,
\r
1642 SizeFixedOffsetFromParent,
\r
1644 DimensionDependency,
\r
1647 public enum SizeScalePolicyType
\r
1650 FitWithAspectRatio,
\r
1651 FillWithAspectRatio
\r
1653 public enum ClippingModeType
\r