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();
}
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