public DefaultElementSettingsWrapper(Element element) { ExplodeSlice = element.ExplodeSlice; HatchColor = new ColorSettingsWrapper(element.HatchColor); HatchStyle = element.HatchStyle; ShowValue = element.ShowValue; SmartLabel = new SmartLabelSettingsWrapper(element.SmartLabel); Transparency = element.Transparency; }
public LineSettingsWrapper(Line line) { if(line ==null) return; AnchorCapScale = line.AnchorCapScale; if(line.Color!=null) Color = new ColorSettingsWrapper(line.Color); DashStyle = line.DashStyle; EndCap = line.EndCap; Length = line.Length; StartCap = line.StartCap; Width = line.Width; }
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 BackgroundSettingsWrapper(Background background) { Bevel = background.Bevel; Color = new ColorSettingsWrapper(background.Color); GlassEffect = background.GlassEffect; GradientAngle = background.GradientAngle; HatchColor = background.HatchColor; HatchStyle = background.HatchStyle; ImagePath = background.ImagePath; Mode = background.Mode; SecondaryColor = background.SecondaryColor; ShadingEffectMode = background.ShadingEffectMode; Transparency = background.Transparency; Visible = background.Visible; }
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; }