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
30 /// Creates a Size2D property value.
32 /// <param name="vectorValue">Size2D values.</param>
33 /// <since_tizen> 3 </since_tizen>
34 public PropertyValue(Size2D vectorValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_4(Size2D.getCPtr(vectorValue)), true)
36 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
40 /// Creates a Position2D property value.
42 /// <param name="vectorValue">Position2D values.</param>
43 /// <since_tizen> 3 </since_tizen>
44 public PropertyValue(Position2D vectorValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_4(Position2D.getCPtr(vectorValue)), true)
46 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
50 /// Creates a Position property value.
52 /// <param name="vectorValue">Position values.</param>
53 /// <since_tizen> 3 </since_tizen>
54 public PropertyValue(Position vectorValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_5(Position.getCPtr(vectorValue)), true)
56 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
60 /// Creates a Color property value.
62 /// <param name="vectorValue">Color values.</param>
63 /// <since_tizen> 3 </since_tizen>
64 public PropertyValue(Color vectorValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_6(Color.getCPtr(vectorValue)), true)
66 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
70 /// The default constructor.
72 /// <since_tizen> 3 </since_tizen>
73 public PropertyValue() : this(Interop.PropertyValue.new_Property_Value__SWIG_0(), true)
75 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
79 /// Creates a boolean property value.
81 /// <param name="boolValue">A boolean value.</param>
82 /// <since_tizen> 3 </since_tizen>
83 public PropertyValue(bool boolValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_1(boolValue), true)
85 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
89 /// Creates an integer property value.
91 /// <param name="integerValue">An integer value.</param>
92 /// <since_tizen> 3 </since_tizen>
93 public PropertyValue(int integerValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_2(integerValue), true)
95 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
99 /// Creates a float property value.
101 /// <param name="floatValue">A floating-point value.</param>
102 /// <since_tizen> 3 </since_tizen>
103 public PropertyValue(float floatValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_3(floatValue), true)
105 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
109 /// Creates a Vector2 property value.
111 /// <param name="vectorValue">A vector of 2 floating-point values.</param>
112 /// <since_tizen> 3 </since_tizen>
113 public PropertyValue(Vector2 vectorValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_4(Vector2.getCPtr(vectorValue)), true)
115 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
119 /// Creates a Vector3 property value.
121 /// <param name="vectorValue">A vector of 3 floating-point values.</param>
122 /// <since_tizen> 3 </since_tizen>
123 public PropertyValue(Vector3 vectorValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_5(Vector3.getCPtr(vectorValue)), true)
125 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
129 /// Creates a Vector4 property value.
131 /// <param name="vectorValue">A vector of 4 floating-point values.</param>
132 /// <since_tizen> 3 </since_tizen>
133 public PropertyValue(Vector4 vectorValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_6(Vector4.getCPtr(vectorValue)), true)
135 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
139 /// Creates a Rectangle property value.
141 /// <param name="vectorValue">Rectangle values.</param>
142 /// <since_tizen> 3 </since_tizen>
143 public PropertyValue(Rectangle vectorValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_9(Rectangle.getCPtr(vectorValue)), true)
145 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
149 /// Creates a Rotation property value.
151 /// <param name="quaternion">Rotation values.</param>
152 /// <since_tizen> 3 </since_tizen>
153 public PropertyValue(Rotation quaternion) : this(Interop.PropertyValue.new_Property_Value__SWIG_11(Rotation.getCPtr(quaternion)), true)
155 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
159 /// Creates a string property value.
161 /// <param name="stringValue">A string.</param>
162 /// <since_tizen> 3 </since_tizen>
163 public PropertyValue(string stringValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_12(stringValue), true)
165 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
169 /// Creates an array property value.
171 /// <param name="arrayValue">An array.</param>
172 /// <since_tizen> 3 </since_tizen>
173 public PropertyValue(PropertyArray arrayValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_14(PropertyArray.getCPtr(arrayValue)), true)
175 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
179 /// Creates a map property value.
181 /// <param name="mapValue">An array.</param>
182 /// <since_tizen> 3 </since_tizen>
183 public PropertyValue(PropertyMap mapValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_15(PropertyMap.getCPtr(mapValue)), true)
185 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
189 /// Creates a Extents value.
191 /// <param name="extentsValue">A Extents value.</param>
192 /// <since_tizen> 4 </since_tizen>
193 public PropertyValue(Extents extentsValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_16(Extents.getCPtr(extentsValue)), true)
195 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
199 /// Creates a PropertyType value.
201 /// <param name="type">A PropertyType value.</param>
202 /// <since_tizen> 3 </since_tizen>
203 public PropertyValue(PropertyType type) : this(Interop.PropertyValue.new_Property_Value__SWIG_17((int)type), true)
205 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
209 /// Creates a PropertyValue value.
211 /// <param name="value">A PropertyValue value.</param>
212 /// <since_tizen> 3 </since_tizen>
213 public PropertyValue(PropertyValue value) : this(Interop.PropertyValue.new_Property_Value__SWIG_18(PropertyValue.getCPtr(value)), true)
215 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
219 /// Creates a Size property value.
221 /// <param name="vectorValue">Size values.</param>
222 internal PropertyValue(Size vectorValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_5(Size.getCPtr(vectorValue)), true)
224 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
227 internal PropertyValue(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn)
231 internal PropertyValue(Matrix3 matrixValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_7(Matrix3.getCPtr(matrixValue)), true)
233 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
236 internal PropertyValue(Matrix matrixValue) : this(Interop.PropertyValue.new_Property_Value__SWIG_8(Matrix.getCPtr(matrixValue)), true)
238 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
241 internal PropertyValue(AngleAxis angleAxis) : this(Interop.PropertyValue.new_Property_Value__SWIG_10(AngleAxis.getCPtr(angleAxis)), true)
243 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
247 /// An extension to the property value class that allows us to create a
248 /// Property value from a C# object, for example, integer, float, or string.<br />
250 /// <param name="obj">An object to create.</param>
251 /// <returns>The created value.</returns>
252 /// <since_tizen> 3 </since_tizen>
253 static public PropertyValue CreateFromObject(System.Object obj)
255 System.Type type = obj.GetType();
260 value = new PropertyValue((int)obj);//Enum.Parse(type, str);
262 else if (type.Equals(typeof(int)))
264 value = new PropertyValue((int)obj);
266 else if (type.Equals(typeof(System.Int32)))
268 value = new PropertyValue((int)obj);
270 else if (type.Equals(typeof(bool)))
272 value = new PropertyValue((bool)obj);
274 else if (type.Equals(typeof(float)))
276 value = new PropertyValue((float)obj);
278 else if (type.Equals(typeof(string)))
280 value = new PropertyValue((string)obj);
282 else if (type.Equals(typeof(Vector2)))
284 value = new PropertyValue((Vector2)obj);
286 else if (type.Equals(typeof(Vector3)))
288 value = new PropertyValue((Vector3)obj);
290 else if (type.Equals(typeof(Vector4)))
292 value = new PropertyValue((Vector4)obj);
294 else if (type.Equals(typeof(Position)))
296 value = new PropertyValue((Position)obj);
298 else if (type.Equals(typeof(Position2D)))
300 value = new PropertyValue((Position2D)obj);
302 else if (type.Equals(typeof(Size)))
304 value = new PropertyValue((Size)obj);
306 else if (type.Equals(typeof(Size2D)))
308 value = new PropertyValue((Size2D)obj);
310 else if (type.Equals(typeof(Color)))
312 value = new PropertyValue((Color)obj);
314 else if (type.Equals(typeof(Rotation)))
316 value = new PropertyValue((Rotation)obj);
318 else if (type.Equals(typeof(RelativeVector2)))
320 value = new PropertyValue((RelativeVector2)obj);
322 else if (type.Equals(typeof(RelativeVector3)))
324 value = new PropertyValue((RelativeVector3)obj);
326 else if (type.Equals(typeof(RelativeVector4)))
328 value = new PropertyValue((RelativeVector4)obj);
330 else if (type.Equals(typeof(Extents)))
332 value = new PropertyValue((Extents)obj);
334 else if (type.Equals(typeof(Rectangle)))
336 value = new PropertyValue((Rectangle)obj);
340 throw new global::System.InvalidOperationException("Unimplemented type for Property Value :" + type.Name);
342 //NUILog.Debug(" got an property value of =" + type.Name);
347 /// Retrieves a Size2D value.
349 /// <param name="vectorValue"> On return, a Size2D value.</param>
350 /// <since_tizen> 3 </since_tizen>
351 public bool Get(Size2D vectorValue)
353 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_5(swigCPtr, Size2D.getCPtr(vectorValue));
354 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
359 /// Retrieves a Position2D value.
361 /// <param name="vectorValue"> On return, a Position2D value.</param>
362 /// <since_tizen> 3 </since_tizen>
363 public bool Get(Position2D vectorValue)
365 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_5(swigCPtr, Position2D.getCPtr(vectorValue));
366 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
371 /// Retrieves a Size value.
373 /// <param name="vectorValue"> On return, a size value.</param>
374 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
375 [EditorBrowsable(EditorBrowsableState.Never)]
376 public bool Get(Size vectorValue)
378 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_6(swigCPtr, Size.getCPtr(vectorValue));
379 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
384 /// Retrieves a Position value.
386 /// <param name="vectorValue"> On return, a position value.</param>
387 /// <since_tizen> 3 </since_tizen>
388 public bool Get(Position vectorValue)
390 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_6(swigCPtr, Position.getCPtr(vectorValue));
391 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
396 /// Retrieves a Color value.
398 /// <param name="vectorValue"> On return, a color value.</param>
399 /// <since_tizen> 3 </since_tizen>
400 public bool Get(Color vectorValue)
402 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_7(swigCPtr, Color.getCPtr(vectorValue));
403 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
408 /// Queries the type of this property value.
410 /// <returns>The type ID</returns>
411 /// <since_tizen> 3 </since_tizen>
412 public new PropertyType GetType()
414 PropertyType ret = (PropertyType)Interop.PropertyValue.Property_Value_GetType(swigCPtr);
415 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
420 /// Retrieves a boolean value.
422 /// <param name="boolValue">On return, a boolean value.</param>
423 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
424 /// <since_tizen> 3 </since_tizen>
425 public bool Get(out bool boolValue)
427 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_1(swigCPtr, out boolValue);
428 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
433 /// Retrieves a floating-point value.
435 /// <param name="floatValue">On return, a floating-point value.</param>
436 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
437 /// <since_tizen> 3 </since_tizen>
438 public bool Get(out float floatValue)
440 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_2(swigCPtr, out floatValue);
441 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
446 /// Retrieves an integer value.
448 /// <param name="integerValue">On return, an integer value.</param>
449 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
450 /// <since_tizen> 3 </since_tizen>
451 public bool Get(out int integerValue)
453 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_3(swigCPtr, out integerValue);
454 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
459 /// Retrieves an integer rectangle.
461 /// <param name="rect">On return, an integer rectangle.</param>
462 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
463 /// <since_tizen> 3 </since_tizen>
464 public bool Get(Rectangle rect)
466 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_4(swigCPtr, Rectangle.getCPtr(rect));
467 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
472 /// Retrieves a vector value.
474 /// <param name="vectorValue">On return, a vector value.</param>
475 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
476 /// <since_tizen> 3 </since_tizen>
477 public bool Get(Vector2 vectorValue)
479 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_5(swigCPtr, Vector2.getCPtr(vectorValue));
480 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
485 /// Retrieves a vector value.
487 /// <param name="vectorValue">On return, a vector value.</param>
488 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
489 /// <since_tizen> 3 </since_tizen>
490 public bool Get(Vector3 vectorValue)
492 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_6(swigCPtr, Vector3.getCPtr(vectorValue));
493 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
498 /// Retrieves a vector value.
500 /// <param name="vectorValue">On return, a vector value.</param>
501 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
502 /// <since_tizen> 3 </since_tizen>
503 public bool Get(Vector4 vectorValue)
505 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_7(swigCPtr, Vector4.getCPtr(vectorValue));
506 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
511 /// Retrieves a vector value.
513 /// <param name="vectorValue">On return, a vector value.</param>
514 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
515 /// <since_tizen> 5 </since_tizen>
516 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
517 [EditorBrowsable(EditorBrowsableState.Never)]
518 public bool Get(RelativeVector2 vectorValue)
520 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_5(swigCPtr, RelativeVector2.getCPtr(vectorValue));
521 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
526 /// Retrieves a vector value.
528 /// <param name="vectorValue">On return, a vector value.</param>
529 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
530 /// <since_tizen> 5 </since_tizen>
531 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
532 [EditorBrowsable(EditorBrowsableState.Never)]
533 public bool Get(RelativeVector3 vectorValue)
535 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_6(swigCPtr, RelativeVector3.getCPtr(vectorValue));
536 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
541 /// Retrieves a vector value.
543 /// <param name="vectorValue">On return, a vector value.</param>
544 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
545 /// <since_tizen> 5 </since_tizen>
546 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
547 [EditorBrowsable(EditorBrowsableState.Never)]
548 public bool Get(RelativeVector4 vectorValue)
550 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_7(swigCPtr, RelativeVector4.getCPtr(vectorValue));
551 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
556 /// Retrieves a rotation value.
558 /// <param name="quaternionValue">On return, a rotation value.</param>
559 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
560 /// <since_tizen> 3 </since_tizen>
561 public bool Get(Rotation quaternionValue)
563 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_11(swigCPtr, Rotation.getCPtr(quaternionValue));
564 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
569 /// Retrieves a string property value.
571 /// <param name="stringValue">On return, a string.</param>
572 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
573 /// <since_tizen> 3 </since_tizen>
574 public bool Get(out string stringValue)
576 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_12(swigCPtr, out stringValue);
577 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
582 /// Retrieves an array property value.
584 /// <param name="arrayValue">On return, the array as a vector property values.</param>
585 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
586 /// <since_tizen> 3 </since_tizen>
587 public bool Get(PropertyArray arrayValue)
589 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_13(swigCPtr, PropertyArray.getCPtr(arrayValue));
590 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
595 /// Retrieves a map property value.
597 /// <param name="mapValue">On return, the map as vector of string and property value pairs.</param>
598 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
599 /// <since_tizen> 3 </since_tizen>
600 public bool Get(PropertyMap mapValue)
602 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_14(swigCPtr, PropertyMap.getCPtr(mapValue));
603 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
608 /// Retrieves a Extents value.
610 /// <param name="extentsValue">On return, a extents.</param>
611 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns>
612 /// <since_tizen> 4 </since_tizen>
613 public bool Get(Extents extentsValue)
615 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_15(swigCPtr, Extents.getCPtr(extentsValue));
616 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
620 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PropertyValue obj)
622 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
625 internal bool Get(Matrix3 matrixValue)
627 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_8(swigCPtr, Matrix3.getCPtr(matrixValue));
628 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
632 internal bool Get(Matrix matrixValue)
634 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_9(swigCPtr, Matrix.getCPtr(matrixValue));
635 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
639 internal bool Get(AngleAxis angleAxisValue)
641 bool ret = Interop.PropertyValue.Property_Value_Get__SWIG_10(swigCPtr, AngleAxis.getCPtr(angleAxisValue));
642 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
646 /// This will not be public opened.
647 [EditorBrowsable(EditorBrowsableState.Never)]
648 protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
650 Interop.PropertyValue.delete_Property_Value(swigCPtr);
653 internal static PropertyValue CreateWithGuard(string value)
655 return value == null ? new PropertyValue() : new PropertyValue(value);
658 internal static PropertyValue CreateWithGuard(Vector2 value)
660 return value == null ? new PropertyValue() : new PropertyValue(value);
663 internal static PropertyValue CreateWithGuard(Rectangle value)
665 return value == null ? new PropertyValue() : new PropertyValue(value);
668 internal static PropertyValue CreateWithGuard(Color value)
670 return value == null ? new PropertyValue() : new PropertyValue(value);