예제 #1
0
 public LabelSettingsWrapper(Label label) 
 {
     Alignment = label.Alignment;
     AutoWrap = label.AutoWrap;
     Color = new ColorSettingsWrapper(label.Color);
     Font = new FontSettingsWrapper(label.Font);
     GlowColor = label.GlowColor;
     Hotspot = new HotspotSettingsWrapper(label.Hotspot);
     LineAlignment = label.LineAlignment;
     OutlineColor = label.OutlineColor;
     Shadow = new ShadowSettingsWrapper(label.Shadow);
     Text = label.Text;
     Truncation = new TruncationSettingsWrapper(label.Truncation);
     Type = label.Type;
 }
 public SmartLabelSettingsWrapper(SmartLabel label)
 {
     Alignment = label.Alignment;
     AllowMarkerOverlap = label.AllowMarkerOverlap;
     AutoWrap = label.AutoWrap;
     Color = new ColorSettingsWrapper(label.Color);
     DistanceMaximum = label.DistanceMaximum;
     DynamicDisplay = label.DynamicDisplay;
     DynamicPosition = label.DynamicPosition;
     Font = new FontSettingsWrapper(label.Font);
     ForceVertical = label.ForceVertical;
     GlowColor = label.GlowColor;
     Hotspot = new HotspotSettingsWrapper(label.Hotspot);
     Line = new LineSettingsWrapper(label.Line);
     LineAlignment = label.LineAlignment;
     OutlineColor = label.OutlineColor;
     Padding = label.Padding;
     PieLabelMode = label.PieLabelMode;
     RadarLabelMode = label.RadarLabelMode;
     Shadow = new ShadowSettingsWrapper(label.Shadow);
     Text = label.Text;
     Truncation = new TruncationSettingsWrapper(label.Truncation);
     Type = label.Type;
 }