Release 4.0.0-preview1-00301
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / public / Color.cs
index 6348cfa..06e042d 100755 (executable)
@@ -1,20 +1,19 @@
-// Copyright (c) 2017 Samsung Electronics Co., Ltd.
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-//
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
-// Some have been manually changed
+/*
+ * Copyright(c) 2017 Samsung Electronics Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
 
 namespace Tizen.NUI
 {
@@ -27,6 +26,9 @@ namespace Tizen.NUI
     public class Color : global::System.IDisposable
     {
         private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+        /// <summary>
+        /// swigCMemOwn
+        /// </summary>
         protected bool swigCMemOwn;
 
         internal Color(global::System.IntPtr cPtr, bool cMemoryOwn)
@@ -42,9 +44,17 @@ namespace Tizen.NUI
 
         //A Flag to check who called Dispose(). (By User or DisposeQueue)
         private bool isDisposeQueued = false;
-        //A Flat to check if it is already disposed.
+
+        /// <summary>
+        /// A Flat to check if it is already disposed.
+        /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         protected bool disposed = false;
 
+        /// <summary>
+        /// Dispose.
+        /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         ~Color()
         {
             if(!isDisposeQueued)
@@ -77,6 +87,10 @@ namespace Tizen.NUI
             }
         }
 
+        /// <summary>
+        /// Dispose.
+        /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         protected virtual void Dispose(DisposeTypes type)
         {
             if (disposed)
@@ -162,6 +176,13 @@ namespace Tizen.NUI
             return result;
         }
 
+        /// <summary>
+        /// The multiplication operator.
+        /// </summary>
+        /// <param name="arg1">The first value.</param>
+        /// <param name="arg2">The second value.</param>
+        /// <returns>The color containing the result of the multiplication.</returns>
+        /// <since_tizen> 3 </since_tizen>
         public static Color operator*(Color arg1, float arg2)
         {
             Color result = arg1.Multiply(arg2);
@@ -183,6 +204,13 @@ namespace Tizen.NUI
             return result;
         }
 
+        /// <summary>
+        /// The division operator.
+        /// </summary>
+        /// <param name="arg1">The first value.</param>
+        /// <param name="arg2">The second value.</param>
+        /// <returns>The color containing the result of the division.</returns>
+        /// <since_tizen> 3 </since_tizen>
         public static Color operator/(Color arg1, float arg2)
         {
             Color result = arg1.Divide(arg2);
@@ -527,7 +555,7 @@ namespace Tizen.NUI
         /// <summary>
         /// Converts Vector4 class to Color class implicitly.
         /// </summary>
-        /// <param name="vec">A Vector4 to be converted to color.</param></param>
+        /// <param name="vec">A Vector4 to be converted to color.</param>
         /// <since_tizen> 3 </since_tizen>
         public static implicit operator Color(Vector4 vec)
         {