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 float Opacity
\r
108 GetProperty(Actor.Property.COLOR_ALPHA).Get(ref temp);
\r
113 SetProperty(Actor.Property.COLOR_ALPHA, new Tizen.NUI.PropertyValue(value));
\r
117 public bool IsOnStage
\r
125 public int HierarchyDepth
\r
129 return GetHierarchyDepth();
\r
133 public int SiblingOrder
\r
138 GetProperty(Actor.Property.SIBLING_ORDER).Get(ref temp);
\r
143 SetProperty(Actor.Property.SIBLING_ORDER, new Tizen.NUI.PropertyValue(value));
\r
157 internal class Property : global::System.IDisposable
\r
159 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
\r
160 protected bool swigCMemOwn;
\r
162 internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)
\r
164 swigCMemOwn = cMemoryOwn;
\r
165 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
\r
168 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)
\r
170 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
\r
178 public virtual void Dispose()
\r
182 if (swigCPtr.Handle != global::System.IntPtr.Zero)
\r
186 swigCMemOwn = false;
\r
187 NDalicPINVOKE.delete_Actor_Property(swigCPtr);
\r
189 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
\r
191 global::System.GC.SuppressFinalize(this);
\r
195 internal static readonly int SIBLING_ORDER = NDalicManualPINVOKE.Actor_Property_SIBLING_ORDER_get();
\r
196 internal static readonly int OPACITY = NDalicManualPINVOKE.Actor_Property_OPACITY_get();
\r
198 internal Property() : this(NDalicPINVOKE.new_Actor_Property(), true)
\r
200 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
203 internal static readonly int PARENT_ORIGIN = NDalicPINVOKE.Actor_Property_PARENT_ORIGIN_get();
\r
204 internal static readonly int PARENT_ORIGIN_X = NDalicPINVOKE.Actor_Property_PARENT_ORIGIN_X_get();
\r
205 internal static readonly int PARENT_ORIGIN_Y = NDalicPINVOKE.Actor_Property_PARENT_ORIGIN_Y_get();
\r
206 internal static readonly int PARENT_ORIGIN_Z = NDalicPINVOKE.Actor_Property_PARENT_ORIGIN_Z_get();
\r
207 internal static readonly int ANCHOR_POINT = NDalicPINVOKE.Actor_Property_ANCHOR_POINT_get();
\r
208 internal static readonly int ANCHOR_POINT_X = NDalicPINVOKE.Actor_Property_ANCHOR_POINT_X_get();
\r
209 internal static readonly int ANCHOR_POINT_Y = NDalicPINVOKE.Actor_Property_ANCHOR_POINT_Y_get();
\r
210 internal static readonly int ANCHOR_POINT_Z = NDalicPINVOKE.Actor_Property_ANCHOR_POINT_Z_get();
\r
211 internal static readonly int SIZE = NDalicPINVOKE.Actor_Property_SIZE_get();
\r
212 internal static readonly int SIZE_WIDTH = NDalicPINVOKE.Actor_Property_SIZE_WIDTH_get();
\r
213 internal static readonly int SIZE_HEIGHT = NDalicPINVOKE.Actor_Property_SIZE_HEIGHT_get();
\r
214 internal static readonly int SIZE_DEPTH = NDalicPINVOKE.Actor_Property_SIZE_DEPTH_get();
\r
215 internal static readonly int POSITION = NDalicPINVOKE.Actor_Property_POSITION_get();
\r
216 internal static readonly int POSITION_X = NDalicPINVOKE.Actor_Property_POSITION_X_get();
\r
217 internal static readonly int POSITION_Y = NDalicPINVOKE.Actor_Property_POSITION_Y_get();
\r
218 internal static readonly int POSITION_Z = NDalicPINVOKE.Actor_Property_POSITION_Z_get();
\r
219 internal static readonly int WORLD_POSITION = NDalicPINVOKE.Actor_Property_WORLD_POSITION_get();
\r
220 internal static readonly int WORLD_POSITION_X = NDalicPINVOKE.Actor_Property_WORLD_POSITION_X_get();
\r
221 internal static readonly int WORLD_POSITION_Y = NDalicPINVOKE.Actor_Property_WORLD_POSITION_Y_get();
\r
222 internal static readonly int WORLD_POSITION_Z = NDalicPINVOKE.Actor_Property_WORLD_POSITION_Z_get();
\r
223 internal static readonly int ORIENTATION = NDalicPINVOKE.Actor_Property_ORIENTATION_get();
\r
224 internal static readonly int WORLD_ORIENTATION = NDalicPINVOKE.Actor_Property_WORLD_ORIENTATION_get();
\r
225 internal static readonly int SCALE = NDalicPINVOKE.Actor_Property_SCALE_get();
\r
226 internal static readonly int SCALE_X = NDalicPINVOKE.Actor_Property_SCALE_X_get();
\r
227 internal static readonly int SCALE_Y = NDalicPINVOKE.Actor_Property_SCALE_Y_get();
\r
228 internal static readonly int SCALE_Z = NDalicPINVOKE.Actor_Property_SCALE_Z_get();
\r
229 internal static readonly int WORLD_SCALE = NDalicPINVOKE.Actor_Property_WORLD_SCALE_get();
\r
230 internal static readonly int VISIBLE = NDalicPINVOKE.Actor_Property_VISIBLE_get();
\r
231 internal static readonly int COLOR = NDalicPINVOKE.Actor_Property_COLOR_get();
\r
232 internal static readonly int COLOR_RED = NDalicPINVOKE.Actor_Property_COLOR_RED_get();
\r
233 internal static readonly int COLOR_GREEN = NDalicPINVOKE.Actor_Property_COLOR_GREEN_get();
\r
234 internal static readonly int COLOR_BLUE = NDalicPINVOKE.Actor_Property_COLOR_BLUE_get();
\r
235 internal static readonly int COLOR_ALPHA = NDalicPINVOKE.Actor_Property_COLOR_ALPHA_get();
\r
236 internal static readonly int WORLD_COLOR = NDalicPINVOKE.Actor_Property_WORLD_COLOR_get();
\r
237 internal static readonly int WORLD_MATRIX = NDalicPINVOKE.Actor_Property_WORLD_MATRIX_get();
\r
238 internal static readonly int NAME = NDalicPINVOKE.Actor_Property_NAME_get();
\r
239 internal static readonly int SENSITIVE = NDalicPINVOKE.Actor_Property_SENSITIVE_get();
\r
240 internal static readonly int LEAVE_REQUIRED = NDalicPINVOKE.Actor_Property_LEAVE_REQUIRED_get();
\r
241 internal static readonly int INHERIT_ORIENTATION = NDalicPINVOKE.Actor_Property_INHERIT_ORIENTATION_get();
\r
242 internal static readonly int INHERIT_SCALE = NDalicPINVOKE.Actor_Property_INHERIT_SCALE_get();
\r
243 internal static readonly int COLOR_MODE = NDalicPINVOKE.Actor_Property_COLOR_MODE_get();
\r
244 internal static readonly int POSITION_INHERITANCE = NDalicPINVOKE.Actor_Property_POSITION_INHERITANCE_get();
\r
245 internal static readonly int DRAW_MODE = NDalicPINVOKE.Actor_Property_DRAW_MODE_get();
\r
246 internal static readonly int SIZE_MODE_FACTOR = NDalicPINVOKE.Actor_Property_SIZE_MODE_FACTOR_get();
\r
247 internal static readonly int WIDTH_RESIZE_POLICY = NDalicPINVOKE.Actor_Property_WIDTH_RESIZE_POLICY_get();
\r
248 internal static readonly int HEIGHT_RESIZE_POLICY = NDalicPINVOKE.Actor_Property_HEIGHT_RESIZE_POLICY_get();
\r
249 internal static readonly int SIZE_SCALE_POLICY = NDalicPINVOKE.Actor_Property_SIZE_SCALE_POLICY_get();
\r
250 internal static readonly int WIDTH_FOR_HEIGHT = NDalicPINVOKE.Actor_Property_WIDTH_FOR_HEIGHT_get();
\r
251 internal static readonly int HEIGHT_FOR_WIDTH = NDalicPINVOKE.Actor_Property_HEIGHT_FOR_WIDTH_get();
\r
252 internal static readonly int PADDING = NDalicPINVOKE.Actor_Property_PADDING_get();
\r
253 internal static readonly int MINIMUM_SIZE = NDalicPINVOKE.Actor_Property_MINIMUM_SIZE_get();
\r
254 internal static readonly int MAXIMUM_SIZE = NDalicPINVOKE.Actor_Property_MAXIMUM_SIZE_get();
\r
255 internal static readonly int INHERIT_POSITION = NDalicPINVOKE.Actor_Property_INHERIT_POSITION_get();
\r
256 internal static readonly int CLIPPING_MODE = NDalicPINVOKE.Actor_Property_CLIPPING_MODE_get();
\r
260 public Actor() : this(NDalicPINVOKE.Actor_New(), true)
\r
262 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
265 public new static Actor DownCast(BaseHandle handle)
\r
267 Actor ret = new Actor(NDalicPINVOKE.Actor_DownCast(BaseHandle.getCPtr(handle)), true);
\r
268 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
272 internal Actor(Actor copy) : this(NDalicPINVOKE.new_Actor__SWIG_1(Actor.getCPtr(copy)), true)
\r
274 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
277 internal Actor Assign(Actor rhs)
\r
279 Actor ret = new Actor(NDalicPINVOKE.Actor_Assign(swigCPtr, Actor.getCPtr(rhs)), false);
\r
280 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
284 internal string GetName()
\r
286 string ret = NDalicPINVOKE.Actor_GetName(swigCPtr);
\r
287 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
291 internal void SetName(string name)
\r
293 NDalicPINVOKE.Actor_SetName(swigCPtr, name);
\r
294 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
297 internal uint GetId()
\r
299 uint ret = NDalicPINVOKE.Actor_GetId(swigCPtr);
\r
300 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
304 internal bool IsRoot()
\r
306 bool ret = NDalicPINVOKE.Actor_IsRoot(swigCPtr);
\r
307 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
311 internal bool OnStage()
\r
313 bool ret = NDalicPINVOKE.Actor_OnStage(swigCPtr);
\r
314 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
318 internal bool IsLayer()
\r
320 bool ret = NDalicPINVOKE.Actor_IsLayer(swigCPtr);
\r
321 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
325 internal Layer GetLayer()
\r
327 Layer ret = new Layer(NDalicPINVOKE.Actor_GetLayer(swigCPtr), true);
\r
328 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
332 public void Add(Actor child)
\r
334 NDalicPINVOKE.Actor_Add(swigCPtr, Actor.getCPtr(child));
\r
335 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
338 public void Remove(Actor child)
\r
340 NDalicPINVOKE.Actor_Remove(swigCPtr, Actor.getCPtr(child));
\r
341 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
344 internal void Unparent()
\r
346 NDalicPINVOKE.Actor_Unparent(swigCPtr);
\r
347 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
350 public uint GetChildCount()
\r
352 uint ret = NDalicPINVOKE.Actor_GetChildCount(swigCPtr);
\r
353 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
357 public Actor GetChildAt(uint index)
\r
359 Actor ret = new Actor(NDalicPINVOKE.Actor_GetChildAt(swigCPtr, index), true);
\r
360 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
364 public Actor FindChildByName(string actorName)
\r
366 Actor ret = new Actor(NDalicPINVOKE.Actor_FindChildByName(swigCPtr, actorName), true);
\r
367 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
371 internal Actor FindChildById(uint id)
\r
373 Actor ret = new Actor(NDalicPINVOKE.Actor_FindChildById(swigCPtr, id), true);
\r
374 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
378 internal Actor GetParent()
\r
380 Actor ret = new Actor(NDalicPINVOKE.Actor_GetParent(swigCPtr), true);
\r
381 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
385 internal void SetParentOrigin(Vector3 origin)
\r
387 NDalicPINVOKE.Actor_SetParentOrigin(swigCPtr, Vector3.getCPtr(origin));
\r
388 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
391 internal Vector3 GetCurrentParentOrigin()
\r
393 Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetCurrentParentOrigin(swigCPtr), true);
\r
394 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
398 internal void SetAnchorPoint(Vector3 anchorPoint)
\r
400 NDalicPINVOKE.Actor_SetAnchorPoint(swigCPtr, Vector3.getCPtr(anchorPoint));
\r
401 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
404 internal Vector3 GetCurrentAnchorPoint()
\r
406 Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetCurrentAnchorPoint(swigCPtr), true);
\r
407 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
411 internal void SetSize(float width, float height)
\r
413 NDalicPINVOKE.Actor_SetSize__SWIG_0(swigCPtr, width, height);
\r
414 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
417 internal void SetSize(float width, float height, float depth)
\r
419 NDalicPINVOKE.Actor_SetSize__SWIG_1(swigCPtr, width, height, depth);
\r
420 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
423 internal void SetSize(Vector2 size)
\r
425 NDalicPINVOKE.Actor_SetSize__SWIG_2(swigCPtr, Vector2.getCPtr(size));
\r
426 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
429 internal void SetSize(Vector3 size)
\r
431 NDalicPINVOKE.Actor_SetSize__SWIG_3(swigCPtr, Vector3.getCPtr(size));
\r
432 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
435 internal Vector3 GetTargetSize()
\r
437 Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetTargetSize(swigCPtr), true);
\r
438 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
442 internal Size GetCurrentSize()
\r
444 Size ret = new Size(NDalicPINVOKE.Actor_GetCurrentSize(swigCPtr), true);
\r
445 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
449 public Vector3 GetNaturalSize()
\r
451 Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetNaturalSize(swigCPtr), true);
\r
452 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
456 internal void SetPosition(float x, float y)
\r
458 NDalicPINVOKE.Actor_SetPosition__SWIG_0(swigCPtr, x, y);
\r
459 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
462 internal void SetPosition(float x, float y, float z)
\r
464 NDalicPINVOKE.Actor_SetPosition__SWIG_1(swigCPtr, x, y, z);
\r
465 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
468 internal void SetPosition(Vector3 position)
\r
470 NDalicPINVOKE.Actor_SetPosition__SWIG_2(swigCPtr, Vector3.getCPtr(position));
\r
471 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
474 internal void SetX(float x)
\r
476 NDalicPINVOKE.Actor_SetX(swigCPtr, x);
\r
477 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
480 internal void SetY(float y)
\r
482 NDalicPINVOKE.Actor_SetY(swigCPtr, y);
\r
483 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
486 internal void SetZ(float z)
\r
488 NDalicPINVOKE.Actor_SetZ(swigCPtr, z);
\r
489 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
492 internal void TranslateBy(Vector3 distance)
\r
494 NDalicPINVOKE.Actor_TranslateBy(swigCPtr, Vector3.getCPtr(distance));
\r
495 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
498 internal Position GetCurrentPosition()
\r
500 Position ret = new Position(NDalicPINVOKE.Actor_GetCurrentPosition(swigCPtr), true);
\r
501 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
505 internal Vector3 GetCurrentWorldPosition()
\r
507 Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetCurrentWorldPosition(swigCPtr), true);
\r
508 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
512 internal void SetInheritPosition(bool inherit)
\r
514 NDalicPINVOKE.Actor_SetInheritPosition(swigCPtr, inherit);
\r
515 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
518 internal PositionInheritanceMode GetPositionInheritanceMode()
\r
520 PositionInheritanceMode ret = (PositionInheritanceMode)NDalicPINVOKE.Actor_GetPositionInheritanceMode(swigCPtr);
\r
521 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
525 internal bool IsPositionInherited()
\r
527 bool ret = NDalicPINVOKE.Actor_IsPositionInherited(swigCPtr);
\r
528 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
532 internal void SetOrientation(Degree angle, Vector3 axis)
\r
534 NDalicPINVOKE.Actor_SetOrientation__SWIG_0(swigCPtr, Degree.getCPtr(angle), Vector3.getCPtr(axis));
\r
535 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
538 internal void SetOrientation(Radian angle, Vector3 axis)
\r
540 NDalicPINVOKE.Actor_SetOrientation__SWIG_1(swigCPtr, Radian.getCPtr(angle), Vector3.getCPtr(axis));
\r
541 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
544 internal void SetOrientation(Rotation orientation)
\r
546 NDalicPINVOKE.Actor_SetOrientation__SWIG_2(swigCPtr, Rotation.getCPtr(orientation));
\r
547 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
550 internal void RotateBy(Degree angle, Vector3 axis)
\r
552 NDalicPINVOKE.Actor_RotateBy__SWIG_0(swigCPtr, Degree.getCPtr(angle), Vector3.getCPtr(axis));
\r
553 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
556 internal void RotateBy(Radian angle, Vector3 axis)
\r
558 NDalicPINVOKE.Actor_RotateBy__SWIG_1(swigCPtr, Radian.getCPtr(angle), Vector3.getCPtr(axis));
\r
559 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
562 internal void RotateBy(Rotation relativeRotation)
\r
564 NDalicPINVOKE.Actor_RotateBy__SWIG_2(swigCPtr, Rotation.getCPtr(relativeRotation));
\r
565 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
568 internal Rotation GetCurrentOrientation()
\r
570 Rotation ret = new Rotation(NDalicPINVOKE.Actor_GetCurrentOrientation(swigCPtr), true);
\r
571 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
575 internal void SetInheritOrientation(bool inherit)
\r
577 NDalicPINVOKE.Actor_SetInheritOrientation(swigCPtr, inherit);
\r
578 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
581 internal bool IsOrientationInherited()
\r
583 bool ret = NDalicPINVOKE.Actor_IsOrientationInherited(swigCPtr);
\r
584 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
588 internal Rotation GetCurrentWorldOrientation()
\r
590 Rotation ret = new Rotation(NDalicPINVOKE.Actor_GetCurrentWorldOrientation(swigCPtr), true);
\r
591 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
595 internal void SetScale(float scale)
\r
597 NDalicPINVOKE.Actor_SetScale__SWIG_0(swigCPtr, scale);
\r
598 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
601 internal void SetScale(float scaleX, float scaleY, float scaleZ)
\r
603 NDalicPINVOKE.Actor_SetScale__SWIG_1(swigCPtr, scaleX, scaleY, scaleZ);
\r
604 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
607 internal void SetScale(Vector3 scale)
\r
609 NDalicPINVOKE.Actor_SetScale__SWIG_2(swigCPtr, Vector3.getCPtr(scale));
\r
610 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
613 internal void ScaleBy(Vector3 relativeScale)
\r
615 NDalicPINVOKE.Actor_ScaleBy(swigCPtr, Vector3.getCPtr(relativeScale));
\r
616 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
619 internal Vector3 GetCurrentScale()
\r
621 Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetCurrentScale(swigCPtr), true);
\r
622 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
626 internal Vector3 GetCurrentWorldScale()
\r
628 Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetCurrentWorldScale(swigCPtr), true);
\r
629 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
633 internal void SetInheritScale(bool inherit)
\r
635 NDalicPINVOKE.Actor_SetInheritScale(swigCPtr, inherit);
\r
636 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
639 internal bool IsScaleInherited()
\r
641 bool ret = NDalicPINVOKE.Actor_IsScaleInherited(swigCPtr);
\r
642 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
646 internal Matrix GetCurrentWorldMatrix()
\r
648 Matrix ret = new Matrix(NDalicPINVOKE.Actor_GetCurrentWorldMatrix(swigCPtr), true);
\r
649 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
653 internal void SetVisible(bool visible)
\r
655 NDalicPINVOKE.Actor_SetVisible(swigCPtr, visible);
\r
656 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
659 internal bool IsVisible()
\r
661 bool ret = NDalicPINVOKE.Actor_IsVisible(swigCPtr);
\r
662 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
666 internal void SetOpacity(float opacity)
\r
668 NDalicPINVOKE.Actor_SetOpacity(swigCPtr, opacity);
\r
669 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
672 internal float GetCurrentOpacity()
\r
674 float ret = NDalicPINVOKE.Actor_GetCurrentOpacity(swigCPtr);
\r
675 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
679 internal void SetColor(Vector4 color)
\r
681 NDalicPINVOKE.Actor_SetColor(swigCPtr, Vector4.getCPtr(color));
\r
682 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
685 internal Vector4 GetCurrentColor()
\r
687 Vector4 ret = new Vector4(NDalicPINVOKE.Actor_GetCurrentColor(swigCPtr), true);
\r
688 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
692 internal void SetColorMode(ColorMode colorMode)
\r
694 NDalicPINVOKE.Actor_SetColorMode(swigCPtr, (int)colorMode);
\r
695 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
698 internal ColorMode GetColorMode()
\r
700 ColorMode ret = (ColorMode)NDalicPINVOKE.Actor_GetColorMode(swigCPtr);
\r
701 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
705 internal Vector4 GetCurrentWorldColor()
\r
707 Vector4 ret = new Vector4(NDalicPINVOKE.Actor_GetCurrentWorldColor(swigCPtr), true);
\r
708 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
712 internal void SetDrawMode(DrawModeType drawMode)
\r
714 NDalicPINVOKE.Actor_SetDrawMode(swigCPtr, (int)drawMode);
\r
715 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
718 internal DrawModeType GetDrawMode()
\r
720 DrawModeType ret = (DrawModeType)NDalicPINVOKE.Actor_GetDrawMode(swigCPtr);
\r
721 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
725 internal void SetSensitive(bool sensitive)
\r
727 NDalicPINVOKE.Actor_SetSensitive(swigCPtr, sensitive);
\r
728 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
731 internal bool IsSensitive()
\r
733 bool ret = NDalicPINVOKE.Actor_IsSensitive(swigCPtr);
\r
734 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
738 public bool ScreenToLocal(out float localX, out float localY, float screenX, float screenY)
\r
740 bool ret = NDalicPINVOKE.Actor_ScreenToLocal(swigCPtr, out localX, out localY, screenX, screenY);
\r
741 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
745 internal void SetLeaveRequired(bool required)
\r
747 NDalicPINVOKE.Actor_SetLeaveRequired(swigCPtr, required);
\r
748 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
751 internal bool GetLeaveRequired()
\r
753 bool ret = NDalicPINVOKE.Actor_GetLeaveRequired(swigCPtr);
\r
754 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
758 internal void SetKeyboardFocusable(bool focusable)
\r
760 NDalicPINVOKE.Actor_SetKeyboardFocusable(swigCPtr, focusable);
\r
761 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
764 internal bool IsKeyboardFocusable()
\r
766 bool ret = NDalicPINVOKE.Actor_IsKeyboardFocusable(swigCPtr);
\r
767 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
771 internal void SetResizePolicy(ResizePolicyType policy, DimensionType dimension)
\r
773 NDalicPINVOKE.Actor_SetResizePolicy(swigCPtr, (int)policy, (int)dimension);
\r
774 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
777 internal ResizePolicyType GetResizePolicy(DimensionType dimension)
\r
779 ResizePolicyType ret = (ResizePolicyType)NDalicPINVOKE.Actor_GetResizePolicy(swigCPtr, (int)dimension);
\r
780 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
784 internal void SetSizeScalePolicy(SizeScalePolicyType policy)
\r
786 NDalicPINVOKE.Actor_SetSizeScalePolicy(swigCPtr, (int)policy);
\r
787 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
790 internal SizeScalePolicyType GetSizeScalePolicy()
\r
792 SizeScalePolicyType ret = (SizeScalePolicyType)NDalicPINVOKE.Actor_GetSizeScalePolicy(swigCPtr);
\r
793 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
797 internal void SetSizeModeFactor(Vector3 factor)
\r
799 NDalicPINVOKE.Actor_SetSizeModeFactor(swigCPtr, Vector3.getCPtr(factor));
\r
800 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
803 internal Vector3 GetSizeModeFactor()
\r
805 Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetSizeModeFactor(swigCPtr), true);
\r
806 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
810 public float GetHeightForWidth(float width)
\r
812 float ret = NDalicPINVOKE.Actor_GetHeightForWidth(swigCPtr, width);
\r
813 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
817 public float GetWidthForHeight(float height)
\r
819 float ret = NDalicPINVOKE.Actor_GetWidthForHeight(swigCPtr, height);
\r
820 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
824 internal float GetRelayoutSize(DimensionType dimension)
\r
826 float ret = NDalicPINVOKE.Actor_GetRelayoutSize(swigCPtr, (int)dimension);
\r
827 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
831 public void SetPadding(PaddingType padding)
\r
833 NDalicPINVOKE.Actor_SetPadding(swigCPtr, PaddingType.getCPtr(padding));
\r
834 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
837 public void GetPadding(PaddingType paddingOut)
\r
839 NDalicPINVOKE.Actor_GetPadding(swigCPtr, PaddingType.getCPtr(paddingOut));
\r
840 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
843 internal void SetMinimumSize(Vector2 size)
\r
845 NDalicPINVOKE.Actor_SetMinimumSize(swigCPtr, Vector2.getCPtr(size));
\r
846 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
849 internal Vector2 GetMinimumSize()
\r
851 Vector2 ret = new Vector2(NDalicPINVOKE.Actor_GetMinimumSize(swigCPtr), true);
\r
852 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
856 internal void SetMaximumSize(Vector2 size)
\r
858 NDalicPINVOKE.Actor_SetMaximumSize(swigCPtr, Vector2.getCPtr(size));
\r
859 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
862 internal Vector2 GetMaximumSize()
\r
864 Vector2 ret = new Vector2(NDalicPINVOKE.Actor_GetMaximumSize(swigCPtr), true);
\r
865 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
869 internal int GetHierarchyDepth()
\r
871 int ret = NDalicPINVOKE.Actor_GetHierarchyDepth(swigCPtr);
\r
872 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
876 internal uint AddRenderer(Renderer renderer)
\r
878 uint ret = NDalicPINVOKE.Actor_AddRenderer(swigCPtr, Renderer.getCPtr(renderer));
\r
879 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
883 internal uint GetRendererCount()
\r
885 uint ret = NDalicPINVOKE.Actor_GetRendererCount(swigCPtr);
\r
886 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
890 internal Renderer GetRendererAt(uint index)
\r
892 Renderer ret = new Renderer(NDalicPINVOKE.Actor_GetRendererAt(swigCPtr, index), true);
\r
893 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
897 internal void RemoveRenderer(Renderer renderer)
\r
899 NDalicPINVOKE.Actor_RemoveRenderer__SWIG_0(swigCPtr, Renderer.getCPtr(renderer));
\r
900 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
903 internal void RemoveRenderer(uint index)
\r
905 NDalicPINVOKE.Actor_RemoveRenderer__SWIG_1(swigCPtr, index);
\r
906 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
909 internal SWIGTYPE_p_Dali__SignalT_bool_fDali__Actor_Dali__TouchEvent_const_RF_t TouchedSignal()
\r
911 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
912 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
916 internal ActorTouchDataSignal TouchSignal()
\r
918 ActorTouchDataSignal ret = new ActorTouchDataSignal(NDalicPINVOKE.Actor_TouchSignal(swigCPtr), false);
\r
919 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
923 internal ActorHoverSignal HoveredSignal()
\r
925 ActorHoverSignal ret = new ActorHoverSignal(NDalicPINVOKE.Actor_HoveredSignal(swigCPtr), false);
\r
926 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
930 internal ActorWheelSignal WheelEventSignal()
\r
932 ActorWheelSignal ret = new ActorWheelSignal(NDalicPINVOKE.Actor_WheelEventSignal(swigCPtr), false);
\r
933 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
937 internal ActorSignal OnStageSignal()
\r
939 ActorSignal ret = new ActorSignal(NDalicPINVOKE.Actor_OnStageSignal(swigCPtr), false);
\r
940 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
944 internal ActorSignal OffStageSignal()
\r
946 ActorSignal ret = new ActorSignal(NDalicPINVOKE.Actor_OffStageSignal(swigCPtr), false);
\r
947 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
951 internal ActorSignal OnRelayoutSignal()
\r
953 ActorSignal ret = new ActorSignal(NDalicPINVOKE.Actor_OnRelayoutSignal(swigCPtr), false);
\r
954 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r
958 public Position ParentOrigin
\r
962 Position temp = new Position(0.0f, 0.0f, 0.0f);
\r
963 GetProperty(Actor.Property.PARENT_ORIGIN).Get(temp);
\r
968 SetProperty(Actor.Property.PARENT_ORIGIN, new Tizen.NUI.PropertyValue(value));
\r
972 public Position AnchorPoint
\r
976 Position temp = new Position(0.0f, 0.0f, 0.0f);
\r
977 GetProperty(Actor.Property.ANCHOR_POINT).Get(temp);
\r
982 SetProperty(Actor.Property.ANCHOR_POINT, new Tizen.NUI.PropertyValue(value));
\r
990 Size temp = GetCurrentSize();
\r
995 SetProperty(Actor.Property.SIZE, new Tizen.NUI.PropertyValue(value));
\r
998 public float SizeWidth
\r
1002 Size temp = GetCurrentSize();
\r
1003 return temp.Width;
\r
1007 SetProperty(Actor.Property.SIZE_WIDTH, new Tizen.NUI.PropertyValue(value));
\r
1010 public float SizeHeight
\r
1014 Size temp = GetCurrentSize();
\r
1015 return temp.Height;
\r
1019 SetProperty(Actor.Property.SIZE_HEIGHT, new Tizen.NUI.PropertyValue(value));
\r
1022 public float SizeDepth
\r
1026 Size temp = GetCurrentSize();
\r
1027 return temp.Depth;
\r
1031 SetProperty(Actor.Property.SIZE_DEPTH, new Tizen.NUI.PropertyValue(value));
\r
1034 public Position Position
\r
1038 Position temp = GetCurrentPosition();
\r
1043 SetProperty(Actor.Property.POSITION, new Tizen.NUI.PropertyValue(value));
\r
1046 public float PositionX
\r
1050 Position temp = GetCurrentPosition();
\r
1055 SetProperty(Actor.Property.POSITION_X, new Tizen.NUI.PropertyValue(value));
\r
1058 public float PositionY
\r
1062 Position temp = GetCurrentPosition();
\r
1067 SetProperty(Actor.Property.POSITION_Y, new Tizen.NUI.PropertyValue(value));
\r
1070 public float PositionZ
\r
1074 Position temp = GetCurrentPosition();
\r
1079 SetProperty(Actor.Property.POSITION_Z, new Tizen.NUI.PropertyValue(value));
\r
1082 public Vector3 WorldPosition
\r
1086 Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);
\r
1087 GetProperty(Actor.Property.WORLD_POSITION).Get(temp);
\r
1092 public Rotation Orientation
\r
1096 Rotation temp = new Rotation();
\r
1097 GetProperty(Actor.Property.ORIENTATION).Get(temp);
\r
1102 SetProperty(Actor.Property.ORIENTATION, new Tizen.NUI.PropertyValue(value));
\r
1105 public Rotation WorldOrientation
\r
1109 Rotation temp = new Rotation();
\r
1110 GetProperty(Actor.Property.WORLD_ORIENTATION).Get(temp);
\r
1114 public Vector3 Scale
\r
1118 Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);
\r
1119 GetProperty(Actor.Property.SCALE).Get(temp);
\r
1124 SetProperty(Actor.Property.SCALE, new Tizen.NUI.PropertyValue(value));
\r
1127 public float ScaleX
\r
1131 float temp = 0.0f;
\r
1132 GetProperty(Actor.Property.SCALE_X).Get(ref temp);
\r
1137 SetProperty(Actor.Property.SCALE_X, new Tizen.NUI.PropertyValue(value));
\r
1140 public float ScaleY
\r
1144 float temp = 0.0f;
\r
1145 GetProperty(Actor.Property.SCALE_Y).Get(ref temp);
\r
1150 SetProperty(Actor.Property.SCALE_Y, new Tizen.NUI.PropertyValue(value));
\r
1153 public float ScaleZ
\r
1157 float temp = 0.0f;
\r
1158 GetProperty(Actor.Property.SCALE_Z).Get(ref temp);
\r
1163 SetProperty(Actor.Property.SCALE_Z, new Tizen.NUI.PropertyValue(value));
\r
1166 public Vector3 WorldScale
\r
1170 Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);
\r
1171 GetProperty(Actor.Property.WORLD_SCALE).Get(temp);
\r
1175 public bool Visible
\r
1179 bool temp = false;
\r
1180 GetProperty(Actor.Property.VISIBLE).Get(ref temp);
\r
1185 SetProperty(Actor.Property.VISIBLE, new Tizen.NUI.PropertyValue(value));
\r
1188 public Color MixColor
\r
1192 Color temp = new Color(0.0f, 0.0f, 0.0f, 0.0f);
\r
1193 GetProperty(Actor.Property.COLOR).Get(temp);
\r
1198 SetProperty(Actor.Property.COLOR, new Tizen.NUI.PropertyValue(value));
\r
1201 public float ColorRed
\r
1205 float temp = 0.0f;
\r
1206 GetProperty(Actor.Property.COLOR_RED).Get(ref temp);
\r
1211 SetProperty(Actor.Property.COLOR_RED, new Tizen.NUI.PropertyValue(value));
\r
1214 public float ColorGreen
\r
1218 float temp = 0.0f;
\r
1219 GetProperty(Actor.Property.COLOR_GREEN).Get(ref temp);
\r
1224 SetProperty(Actor.Property.COLOR_GREEN, new Tizen.NUI.PropertyValue(value));
\r
1227 public float ColorBlue
\r
1231 float temp = 0.0f;
\r
1232 GetProperty(Actor.Property.COLOR_BLUE).Get(ref temp);
\r
1237 SetProperty(Actor.Property.COLOR_BLUE, new Tizen.NUI.PropertyValue(value));
\r
1240 public float ColorAlpha
\r
1244 float temp = 0.0f;
\r
1245 GetProperty(Actor.Property.COLOR_ALPHA).Get(ref temp);
\r
1250 SetProperty(Actor.Property.COLOR_ALPHA, new Tizen.NUI.PropertyValue(value));
\r
1253 public Color WorldColor
\r
1257 Color temp = new Color(0.0f, 0.0f, 0.0f, 0.0f);
\r
1258 GetProperty(Actor.Property.WORLD_COLOR).Get(temp);
\r
1263 public string Name
\r
1268 GetProperty(Actor.Property.NAME).Get(out temp);
\r
1273 SetProperty(Actor.Property.NAME, new Tizen.NUI.PropertyValue(value));
\r
1276 public bool Sensitive
\r
1280 bool temp = false;
\r
1281 GetProperty(Actor.Property.SENSITIVE).Get(ref temp);
\r
1286 SetProperty(Actor.Property.SENSITIVE, new Tizen.NUI.PropertyValue(value));
\r
1289 public bool LeaveRequired
\r
1293 bool temp = false;
\r
1294 GetProperty(Actor.Property.LEAVE_REQUIRED).Get(ref temp);
\r
1299 SetProperty(Actor.Property.LEAVE_REQUIRED, new Tizen.NUI.PropertyValue(value));
\r
1302 public bool InheritOrientation
\r
1306 bool temp = false;
\r
1307 GetProperty(Actor.Property.INHERIT_ORIENTATION).Get(ref temp);
\r
1312 SetProperty(Actor.Property.INHERIT_ORIENTATION, new Tizen.NUI.PropertyValue(value));
\r
1315 public bool InheritScale
\r
1319 bool temp = false;
\r
1320 GetProperty(Actor.Property.INHERIT_SCALE).Get(ref temp);
\r
1325 SetProperty(Actor.Property.INHERIT_SCALE, new Tizen.NUI.PropertyValue(value));
\r
1329 public ColorMode ColorMode
\r
1334 if (GetProperty(Actor.Property.COLOR_MODE).Get(out temp) == false)
\r
1336 //Tizen.Log.Error("NUI", "ColorMode get error!");
\r
1340 case "USE_OWN_COLOR":
\r
1341 return ColorMode.UseOwnColor;
\r
1342 case "USE_PARENT_COLOR":
\r
1343 return ColorMode.UseParentColor;
\r
1344 case "USE_OWN_MULTIPLY_PARENT_COLOR":
\r
1345 return ColorMode.UseOwnMultiplyParentColor;
\r
1346 case "USE_OWN_MULTIPLY_PARENT_ALPHA":
\r
1347 return ColorMode.UseOwnMultiplyParentAlpha;
\r
1349 return ColorMode.UseOwnColor;
\r
1354 SetProperty(Actor.Property.COLOR_MODE, new Tizen.NUI.PropertyValue((int)value));
\r
1358 public DrawModeType DrawMode
\r
1363 if (GetProperty(Actor.Property.DRAW_MODE).Get(out temp) == false)
\r
1365 //Tizen.Log.Error("NUI", "DrawMode get error!");
\r
1370 return DrawModeType.Normal;
\r
1371 case "OVERLAY_2D":
\r
1372 return DrawModeType.Overlay2D;
\r
1374 return DrawModeType.Stencil;
\r
1376 return DrawModeType.Normal;
\r
1381 SetProperty(Actor.Property.DRAW_MODE, new Tizen.NUI.PropertyValue((int)value));
\r
1384 public Vector3 SizeModeFactor
\r
1388 Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);
\r
1389 GetProperty(Actor.Property.SIZE_MODE_FACTOR).Get(temp);
\r
1394 SetProperty(Actor.Property.SIZE_MODE_FACTOR, new Tizen.NUI.PropertyValue(value));
\r
1398 public ResizePolicyType WidthResizePolicy
\r
1403 if (GetProperty(Actor.Property.WIDTH_RESIZE_POLICY).Get(out temp) == false)
\r
1405 //Tizen.Log.Error("NUI", "WidthResizePolicy get error!");
\r
1410 return ResizePolicyType.Fixed;
\r
1411 case "USE_NATURAL_SIZE":
\r
1412 return ResizePolicyType.UseNaturalSize;
\r
1413 case "FILL_TO_PARENT":
\r
1414 return ResizePolicyType.FillToParent;
\r
1415 case "SIZE_RELATIVE_TO_PARENT":
\r
1416 return ResizePolicyType.SizeRelativeToParent;
\r
1417 case "SIZE_FIXED_OFFSET_FROM_PARENT":
\r
1418 return ResizePolicyType.SizeFixedOffsetFromParent;
\r
1419 case "FIT_TO_CHILDREN":
\r
1420 return ResizePolicyType.FitToChildren;
\r
1421 case "DIMENSION_DEPENDENCY":
\r
1422 return ResizePolicyType.DimensionDependency;
\r
1423 case "USE_ASSIGNED_SIZE":
\r
1424 return ResizePolicyType.UseAssignedSize;
\r
1426 return ResizePolicyType.Fixed;
\r
1431 SetProperty(Actor.Property.WIDTH_RESIZE_POLICY, new Tizen.NUI.PropertyValue((int)value));
\r
1435 public ResizePolicyType HeightResizePolicy
\r
1440 if (GetProperty(Actor.Property.HEIGHT_RESIZE_POLICY).Get(out temp) == false)
\r
1442 //Tizen.Log.Error("NUI", "HeightResizePolicy get error!");
\r
1447 return ResizePolicyType.Fixed;
\r
1448 case "USE_NATURAL_SIZE":
\r
1449 return ResizePolicyType.UseNaturalSize;
\r
1450 case "FILL_TO_PARENT":
\r
1451 return ResizePolicyType.FillToParent;
\r
1452 case "SIZE_RELATIVE_TO_PARENT":
\r
1453 return ResizePolicyType.SizeRelativeToParent;
\r
1454 case "SIZE_FIXED_OFFSET_FROM_PARENT":
\r
1455 return ResizePolicyType.SizeFixedOffsetFromParent;
\r
1456 case "FIT_TO_CHILDREN":
\r
1457 return ResizePolicyType.FitToChildren;
\r
1458 case "DIMENSION_DEPENDENCY":
\r
1459 return ResizePolicyType.DimensionDependency;
\r
1460 case "USE_ASSIGNED_SIZE":
\r
1461 return ResizePolicyType.UseAssignedSize;
\r
1463 return ResizePolicyType.Fixed;
\r
1468 SetProperty(Actor.Property.HEIGHT_RESIZE_POLICY, new Tizen.NUI.PropertyValue((int)value));
\r
1472 public SizeScalePolicyType SizeScalePolicy
\r
1477 if (GetProperty(Actor.Property.SIZE_SCALE_POLICY).Get(out temp) == false)
\r
1479 //Tizen.Log.Error("NUI", "SizeScalePolicy get error!");
\r
1483 case "USE_SIZE_SET":
\r
1484 return SizeScalePolicyType.UseSizeSet;
\r
1485 case "FIT_WITH_ASPECT_RATIO":
\r
1486 return SizeScalePolicyType.FitWithAspectRatio;
\r
1487 case "FILL_WITH_ASPECT_RATIO":
\r
1488 return SizeScalePolicyType.FillWithAspectRatio;
\r
1490 return SizeScalePolicyType.UseSizeSet;
\r
1495 SetProperty(Actor.Property.SIZE_SCALE_POLICY, new Tizen.NUI.PropertyValue((int)value));
\r
1499 public bool WidthDependentOnHeight
\r
1503 bool temp = false;
\r
1504 GetProperty(Actor.Property.WIDTH_FOR_HEIGHT).Get(ref temp);
\r
1509 SetProperty(Actor.Property.WIDTH_FOR_HEIGHT, new Tizen.NUI.PropertyValue(value));
\r
1512 public bool HeightDependentOnWidth
\r
1516 bool temp = false;
\r
1517 GetProperty(Actor.Property.HEIGHT_FOR_WIDTH).Get(ref temp);
\r
1522 SetProperty(Actor.Property.HEIGHT_FOR_WIDTH, new Tizen.NUI.PropertyValue(value));
\r
1525 public Vector4 Padding
\r
1529 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
\r
1530 GetProperty(Actor.Property.PADDING).Get(temp);
\r
1535 SetProperty(Actor.Property.PADDING, new Tizen.NUI.PropertyValue(value));
\r
1539 public Size2D MinimumSize
\r
1543 Size2D temp = new Size2D(0.0f, 0.0f);
\r
1544 GetProperty(Actor.Property.MINIMUM_SIZE).Get(temp);
\r
1549 SetProperty(Actor.Property.MINIMUM_SIZE, new Tizen.NUI.PropertyValue(value));
\r
1553 public Size2D MaximumSize
\r
1557 Size2D temp = new Size2D(0.0f, 0.0f);
\r
1558 GetProperty(Actor.Property.MAXIMUM_SIZE).Get(temp);
\r
1563 SetProperty(Actor.Property.MAXIMUM_SIZE, new Tizen.NUI.PropertyValue(value));
\r
1566 public bool InheritPosition
\r
1570 bool temp = false;
\r
1571 GetProperty(Actor.Property.INHERIT_POSITION).Get(ref temp);
\r
1576 SetProperty(Actor.Property.INHERIT_POSITION, new Tizen.NUI.PropertyValue(value));
\r
1580 public ClippingModeType ClippingMode
\r
1585 if (GetProperty(Actor.Property.CLIPPING_MODE).Get(out temp) == false)
\r
1587 //Tizen.Log.Error("NUI", "ClippingMode get error!");
\r
1592 return ClippingModeType.Disabled;
\r
1593 case "CLIP_CHILDREN":
\r
1594 return ClippingModeType.ClipChildren;
\r
1596 return ClippingModeType.Disabled;
\r
1601 SetProperty(Actor.Property.CLIPPING_MODE, new Tizen.NUI.PropertyValue((int)value));
\r
1607 public enum ColorMode
\r
1611 UseOwnMultiplyParentColor,
\r
1612 UseOwnMultiplyParentAlpha
\r
1615 public enum DimensionType
\r
1619 AllDimensions = 0x3
\r
1622 public enum DrawModeType
\r
1628 public enum ResizePolicyType
\r
1633 SizeRelativeToParent,
\r
1634 SizeFixedOffsetFromParent,
\r
1636 DimensionDependency,
\r
1639 public enum SizeScalePolicyType
\r
1642 FitWithAspectRatio,
\r
1643 FillWithAspectRatio
\r
1645 public enum ClippingModeType
\r