Merge remote-tracking branch 'origin/API9' into tizen_6.5
authorTizenAPI-Bot <tizenapi@samsung.com>
Mon, 30 May 2022 15:08:14 +0000 (15:08 +0000)
committerTizenAPI-Bot <tizenapi@samsung.com>
Mon, 30 May 2022 15:08:14 +0000 (15:08 +0000)
src/Tizen.NUI/src/public/Visuals/ArcVisual.cs
src/Tizen.NUI/src/public/Visuals/ColorVisual.cs

index b7e3528..d7e04cc 100755 (executable)
@@ -142,23 +142,23 @@ namespace Tizen.NUI
 
             base.ComposingPropertyMap();
             PropertyValue temp = new PropertyValue((int)Visual.Type.Arc);
-            _outputVisualMap.Add(Visual.Property.Type, temp);
+            _outputVisualMap?.Add(Visual.Property.Type, temp);
             temp.Dispose();
 
             temp = new PropertyValue(Thickness < 0.0f ? 0.0f : Thickness);
-            _outputVisualMap.Add(ArcVisualProperty.Thickness, temp);
+            _outputVisualMap?.Add(ArcVisualProperty.Thickness, temp);
             temp.Dispose();
 
             temp = new PropertyValue(StartAngle);
-            _outputVisualMap.Add(ArcVisualProperty.StartAngle, temp);
+            _outputVisualMap?.Add(ArcVisualProperty.StartAngle, temp);
             temp.Dispose();
 
             temp = new PropertyValue(SweepAngle);
-            _outputVisualMap.Add(ArcVisualProperty.SweepAngle, temp);
+            _outputVisualMap?.Add(ArcVisualProperty.SweepAngle, temp);
             temp.Dispose();
 
             temp = new PropertyValue((int)Cap);
-            _outputVisualMap.Add(ArcVisualProperty.Cap, temp);
+            _outputVisualMap?.Add(ArcVisualProperty.Cap, temp);
             temp.Dispose();
         }
 
index d2b5883..9b47807 100755 (executable)
@@ -85,11 +85,11 @@ namespace Tizen.NUI
                 base.ComposingPropertyMap();
 
                 PropertyValue temp = new PropertyValue((int)Visual.Type.Color);
-                _outputVisualMap.Add(Visual.Property.Type, temp);
+                _outputVisualMap?.Add(Visual.Property.Type, temp);
                 temp.Dispose();
 
                 temp = new PropertyValue(color);
-                _outputVisualMap.Add(ColorVisualProperty.MixColor, temp);
+                _outputVisualMap?.Add(ColorVisualProperty.MixColor, temp);
                 temp.Dispose();
             }
             else