2 * Copyright(c) 2019 Samsung Electronics Co., Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 using System.ComponentModel;
23 /// A value-type representing a property value.
25 /// <since_tizen> 3 </since_tizen>
26 public class PropertyValue : Disposable
31 /// <since_tizen> 3 </since_tizen>
32 protected bool swigCMemOwn;
33 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
36 /// Creates a Size2D property value.
38 /// <param name="vectorValue">Size2D values.</param>
39 /// <since_tizen> 3 </since_tizen>
40 public PropertyValue(Size2D vectorValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_4(Size2D.getCPtr(vectorValue)), true)
42 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
46 /// Creates a Position2D property value.
48 /// <param name="vectorValue">Position2D values.</param>
49 /// <since_tizen> 3 </since_tizen>
50 public PropertyValue(Position2D vectorValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_4(Position2D.getCPtr(vectorValue)), true)
52 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
56 /// Creates a Position property value.
58 /// <param name="vectorValue">Position values.</param>
59 /// <since_tizen> 3 </since_tizen>
60 public PropertyValue(Position vectorValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_5(Position.getCPtr(vectorValue)), true)
62 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
66 /// Creates a Color property value.
68 /// <param name="vectorValue">Color values.</param>
69 /// <since_tizen> 3 </since_tizen>
70 public PropertyValue(Color vectorValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_6(Color.getCPtr(vectorValue)), true)
72 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
76 /// The default constructor.
78 /// <since_tizen> 3 </since_tizen>
79 public PropertyValue() : this(Interop.PropertyValue.new_Property_Value__SWIG_0(), true)
81 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
85 /// Creates a boolean property value.
87 /// <param name="boolValue">A boolean value.</param>
88 /// <since_tizen> 3 </since_tizen>
89 public PropertyValue(bool boolValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_1(boolValue), true)
91 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
95 /// Creates an integer property value.
97 /// <param name="integerValue">An integer value.</param>
98 /// <since_tizen> 3 </since_tizen>
99 public PropertyValue(int integerValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_2(integerValue), true)
101 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
105 /// Creates a float property value.
107 /// <param name="floatValue">A floating-point value.</param>
108 /// <since_tizen> 3 </since_tizen>
109 public PropertyValue(float floatValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_3(floatValue), true)
111 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
115 /// Creates a Vector2 property value.
117 /// <param name="vectorValue">A vector of 2 floating-point values.</param>
118 /// <since_tizen> 3 </since_tizen>
119 public PropertyValue(Vector2 vectorValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_4(Vector2.getCPtr(vectorValue)), true)
121 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
125 /// Creates a Vector3 property value.
127 /// <param name="vectorValue">A vector of 3 floating-point values.</param>
128 /// <since_tizen> 3 </since_tizen>
129 public PropertyValue(Vector3 vectorValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_5(Vector3.getCPtr(vectorValue)), true)
131 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
135 /// Creates a Vector4 property value.
137 /// <param name="vectorValue">A vector of 4 floating-point values.</param>
138 /// <since_tizen> 3 </since_tizen>
139 public PropertyValue(Vector4 vectorValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_6(Vector4.getCPtr(vectorValue)), true)
141 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
145 /// Creates a Rectangle property value.
147 /// <param name="vectorValue">Rectangle values.</param>
148 /// <since_tizen> 3 </since_tizen>
149 public PropertyValue(Rectangle vectorValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_9(Rectangle.getCPtr(vectorValue)), true)
151 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
155 /// Creates a Rotation property value.
157 /// <param name="quaternion">Rotation values.</param>
158 /// <since_tizen> 3 </since_tizen>
159 public PropertyValue(Rotation quaternion) : this(Interop.PropertyValue.new_Property_Value__SWIG_11(Rotation.getCPtr(quaternion)), true)
161 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
165 /// Creates a string property value.
167 /// <param name="stringValue">A string.</param>
168 /// <since_tizen> 3 </since_tizen>
169 public PropertyValue(string stringValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_12(stringValue), true)
171 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
175 /// Creates an array property value.
177 /// <param name="arrayValue">An array.</param>
178 /// <since_tizen> 3 </since_tizen>
179 public PropertyValue(PropertyArray arrayValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_14(PropertyArray.getCPtr(arrayValue)), true)
181 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
185 /// Creates a map property value.
187 /// <param name="mapValue">An array.</param>
188 /// <since_tizen> 3 </since_tizen>
189 public PropertyValue(PropertyMap mapValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_15(PropertyMap.getCPtr(mapValue)), true)
191 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
195 /// Creates a Extents value.
197 /// <param name="extentsValue">A Extents value.</param>
198 /// <since_tizen> 4 </since_tizen>
199 public PropertyValue(Extents extentsValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_16(Extents.getCPtr(extentsValue)), true)
201 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
205 /// Creates a PropertyType value.
207 /// <param name="type">A PropertyType value.</param>
208 /// <since_tizen> 3 </since_tizen>
209 public PropertyValue(PropertyType type) : this(Interop.PropertyValue.new_Property_Value__SWIG_17((int)type), true)
211 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
215 /// Creates a PropertyValue value.
217 /// <param name="value">A PropertyValue value.</param>
218 /// <since_tizen> 3 </since_tizen>
219 public PropertyValue(PropertyValue value) : this(Interop.PropertyValue.new_Property_Value__SWIG_18(PropertyValue.getCPtr(value)), true)
221 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
225 /// Creates a Size property value.
227 /// <param name="vectorValue">Size values.</param>
228 internal PropertyValue(Size vectorValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_5(Size.getCPtr(vectorValue)), true)
230 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
233 internal PropertyValue(global::System.IntPtr cPtr, bool cMemoryOwn)
235 swigCMemOwn = cMemoryOwn;
236 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
239 internal PropertyValue(Matrix3 matrixValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_7(Matrix3.getCPtr(matrixValue)), true)
241 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
244 internal PropertyValue(Matrix matrixValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_8(Matrix.getCPtr(matrixValue)), true)
246 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
249 internal PropertyValue(AngleAxis angleAxis) : this(Interop.PropertyValue.new_Property_Value__SWIG_10(AngleAxis.getCPtr(angleAxis)), true)
251 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
255 /// An extension to the property value class that allows us to create a
256 /// Property value from a C# object, for example, integer, float, or string.<br />
258 /// <param name="obj">An object to create.</param>
259 /// <returns>The created value.</returns>
260 /// <since_tizen> 3 </since_tizen>
261 static public PropertyValue CreateFromObject(System.Object obj)
263 System.Type type = obj.GetType();
268 value = new PropertyValue((int)obj);//Enum.Parse(type, str);
270 else if (type.Equals(typeof(int)))
272 value = new PropertyValue((int)obj);
274 else if (type.Equals(typeof(System.Int32)))
276 value = new PropertyValue((int)obj);
278 else if (type.Equals(typeof(bool)))
280 value = new PropertyValue((bool)obj);
282 else if (type.Equals(typeof(float)))
284 value = new PropertyValue((float)obj);
286 else if (type.Equals(typeof(string)))
288 value = new PropertyValue((string)obj);
290 else if (type.Equals(typeof(Vector2)))
292 value = new PropertyValue((Vector2)obj);
294 else if (type.Equals(typeof(Vector3)))
296 value = new PropertyValue((Vector3)obj);
298 else if (type.Equals(typeof(Vector4)))
300 value = new PropertyValue((Vector4)obj);
302 else if (type.Equals(typeof(Position)))
304 value = new PropertyValue((Position)obj);
306 else if (type.Equals(typeof(Position2D)))
308 value = new PropertyValue((Position2D)obj);
310 else if (type.Equals(typeof(Size)))
312 value = new PropertyValue((Size)obj);
314 else if (type.Equals(typeof(Size2D)))
316 value = new PropertyValue((Size2D)obj);
318 else if (type.Equals(typeof(Color)))
320 value = new PropertyValue((Color)obj);
322 else if (type.Equals(typeof(Rotation)))
324 value = new PropertyValue((Rotation)obj);
326 else if (type.Equals(typeof(RelativeVector2)))
328 value = new PropertyValue((RelativeVector2)obj);
330 else if (type.Equals(typeof(RelativeVector3)))
332 value = new PropertyValue((RelativeVector3)obj);
334 else if (type.Equals(typeof(RelativeVector4)))
336 value = new PropertyValue((RelativeVector4)obj);
338 else if (type.Equals(typeof(Extents)))
340 value = new PropertyValue((Extents)obj);
344 throw new global::System.InvalidOperationException("Unimplemented type for Property Value :" + type.Name);
346 //NUILog.Debug(" got an property value of =" + type.Name);
351 /// Retrieves a Size2D value.
353 /// <param name="vectorValue"> On return, a Size2D value.</param>
354 /// <since_tizen> 3 </since_tizen>
355 public bool Get(Size2D vectorValue)
357 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_5(swigCPtr, Size2D.getCPtr(vectorValue));
358 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
363 /// Retrieves a Position2D value.
365 /// <param name="vectorValue"> On return, a Position2D value.</param>
366 /// <since_tizen> 3 </since_tizen>
367 public bool Get(Position2D vectorValue)
369 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_5(swigCPtr, Position2D.getCPtr(vectorValue));
370 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
375 /// Retrieves a Size value.
377 /// <param name="vectorValue"> On return, a size value.</param>
378 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
379 [EditorBrowsable(EditorBrowsableState.Never)]
380 public bool Get(Size vectorValue)
382 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_6(swigCPtr, Size.getCPtr(vectorValue));
383 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
388 /// Retrieves a Position value.
390 /// <param name="vectorValue"> On return, a position value.</param>
391 /// <since_tizen> 3 </since_tizen>
392 public bool Get(Position vectorValue)
394 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_6(swigCPtr, Position.getCPtr(vectorValue));
395 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
400 /// Retrieves a Color value.
402 /// <param name="vectorValue"> On return, a color value.</param>
403 /// <since_tizen> 3 </since_tizen>
404 public bool Get(Color vectorValue)
406 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_7(swigCPtr, Color.getCPtr(vectorValue));
407 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
412 /// Queries the type of this property value.
414 /// <returns>The type ID</returns>
415 /// <since_tizen> 3 </since_tizen>
416 public new PropertyType GetType()
418 PropertyType ret = (PropertyType)Interop.PropertyValue.Property_Value_GetType(swigCPtr);
419 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
424 /// Retrieves a boolean value.
426 /// <param name="boolValue">On return, a boolean value.</param>
427 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
428 /// <since_tizen> 3 </since_tizen>
429 public bool Get(out bool boolValue)
431 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_1(swigCPtr, out boolValue);
432 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
437 /// Retrieves a floating-point value.
439 /// <param name="floatValue">On return, a floating-point value.</param>
440 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
441 /// <since_tizen> 3 </since_tizen>
442 public bool Get(out float floatValue)
444 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_2(swigCPtr, out floatValue);
445 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
450 /// Retrieves an integer value.
452 /// <param name="integerValue">On return, an integer value.</param>
453 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
454 /// <since_tizen> 3 </since_tizen>
455 public bool Get(out int integerValue)
457 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_3(swigCPtr, out integerValue);
458 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
463 /// Retrieves an integer rectangle.
465 /// <param name="rect">On return, an integer rectangle.</param>
466 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
467 /// <since_tizen> 3 </since_tizen>
468 public bool Get(Rectangle rect)
470 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_4(swigCPtr, Rectangle.getCPtr(rect));
471 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
476 /// Retrieves a vector value.
478 /// <param name="vectorValue">On return, a vector value.</param>
479 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
480 /// <since_tizen> 3 </since_tizen>
481 public bool Get(Vector2 vectorValue)
483 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_5(swigCPtr, Vector2.getCPtr(vectorValue));
484 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
489 /// Retrieves a vector value.
491 /// <param name="vectorValue">On return, a vector value.</param>
492 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
493 /// <since_tizen> 3 </since_tizen>
494 public bool Get(Vector3 vectorValue)
496 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_6(swigCPtr, Vector3.getCPtr(vectorValue));
497 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
502 /// Retrieves a vector value.
504 /// <param name="vectorValue">On return, a vector value.</param>
505 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
506 /// <since_tizen> 3 </since_tizen>
507 public bool Get(Vector4 vectorValue)
509 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_7(swigCPtr, Vector4.getCPtr(vectorValue));
510 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
515 /// Retrieves a vector value.
517 /// <param name="vectorValue">On return, a vector value.</param>
518 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
519 /// <since_tizen> 5 </since_tizen>
520 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
521 [EditorBrowsable(EditorBrowsableState.Never)]
522 public bool Get(RelativeVector2 vectorValue)
524 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_5(swigCPtr, RelativeVector2.getCPtr(vectorValue));
525 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
530 /// Retrieves a vector value.
532 /// <param name="vectorValue">On return, a vector value.</param>
533 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
534 /// <since_tizen> 5 </since_tizen>
535 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
536 [EditorBrowsable(EditorBrowsableState.Never)]
537 public bool Get(RelativeVector3 vectorValue)
539 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_6(swigCPtr, RelativeVector3.getCPtr(vectorValue));
540 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
545 /// Retrieves a vector value.
547 /// <param name="vectorValue">On return, a vector value.</param>
548 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
549 /// <since_tizen> 5 </since_tizen>
550 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
551 [EditorBrowsable(EditorBrowsableState.Never)]
552 public bool Get(RelativeVector4 vectorValue)
554 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_7(swigCPtr, RelativeVector4.getCPtr(vectorValue));
555 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
560 /// Retrieves a rotation value.
562 /// <param name="quaternionValue">On return, a rotation value.</param>
563 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
564 /// <since_tizen> 3 </since_tizen>
565 public bool Get(Rotation quaternionValue)
567 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_11(swigCPtr, Rotation.getCPtr(quaternionValue));
568 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
573 /// Retrieves a string property value.
575 /// <param name="stringValue">On return, a string.</param>
576 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
577 /// <since_tizen> 3 </since_tizen>
578 public bool Get(out string stringValue)
580 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_12(swigCPtr, out stringValue);
581 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
586 /// Retrieves an array property value.
588 /// <param name="arrayValue">On return, the array as a vector property values.</param>
589 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
590 /// <since_tizen> 3 </since_tizen>
591 public bool Get(PropertyArray arrayValue)
593 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_13(swigCPtr, PropertyArray.getCPtr(arrayValue));
594 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
599 /// Retrieves a map property value.
601 /// <param name="mapValue">On return, the map as vector of string and property value pairs.</param>
602 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
603 /// <since_tizen> 3 </since_tizen>
604 public bool Get(PropertyMap mapValue)
606 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_14(swigCPtr, PropertyMap.getCPtr(mapValue));
607 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
612 /// Retrieves a Extents value.
614 /// <param name="extentsValue">On return, a extents.</param>
615 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
616 /// <since_tizen> 4 </since_tizen>
617 public bool Get(Extents extentsValue)
619 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_15(swigCPtr, Extents.getCPtr(extentsValue));
620 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
624 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PropertyValue obj)
626 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
629 internal bool Get(Matrix3 matrixValue)
631 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_8(swigCPtr, Matrix3.getCPtr(matrixValue));
632 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
636 internal bool Get(Matrix matrixValue)
638 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_9(swigCPtr, Matrix.getCPtr(matrixValue));
639 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
643 internal bool Get(AngleAxis angleAxisValue)
645 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_10(swigCPtr, AngleAxis.getCPtr(angleAxisValue));
646 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
653 /// <since_tizen> 3 </since_tizen>
654 protected override void Dispose(DisposeTypes type)
661 //Release your own unmanaged resources here.
662 //You should not access any managed member here except static instance.
663 //because the execution order of Finalizes is non-deterministic.
665 if (swigCPtr.Handle != global::System.IntPtr.Zero)
670 Interop.PropertyValue.delete_Property_Value(swigCPtr);
672 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);