public CategorialThemeItem(string category, IStyle style, Bitmap symbol, object value) { label = category; this.style = (IStyle)style.Clone(); Symbol = symbol; this.value = value; }
public CategorialThemeItem(string category, IStyle style, Bitmap symbol) { label = category; this.style = (IStyle)style.Clone(); if (symbol != null) { } else { log.Debug("Symbol may not be null when initializing categorial themeitem"); } }
public CategorialThemeItem(string category, IStyle style, Bitmap symbol) { label = category; this.style = (IStyle) style.Clone(); if (symbol != null) { } else { log.Debug("Symbol may not be null when initializing categorial themeitem"); } }
public override object Clone() { var categorialTheme = new CategorialTheme(AttributeName, (IStyle)defaultStyle.Clone()); foreach (CategorialThemeItem categorialThemeItem in ThemeItems) { categorialTheme.ThemeItems.Add((CategorialThemeItem)categorialThemeItem.Clone()); } if (NoDataValues != null) { categorialTheme.NoDataValues = NoDataValues.Cast <object>().ToArray(); } return(categorialTheme); }
public override object Clone() { var quantityTheme = new QuantityTheme(attributeName, defaultStyle); foreach (QuantityThemeItem quantityThemeItem in ThemeItems) { quantityTheme.ThemeItems.Add((QuantityThemeItem)quantityThemeItem.Clone()); } quantityTheme.DefaultStyle = (IStyle)defaultStyle.Clone(); if (NoDataValues != null) { quantityTheme.NoDataValues = NoDataValues.Cast <object>().ToArray(); } return(quantityTheme); }
public QuantityTheme(string attributeName, IStyle defaultStyle) { AttributeName = attributeName; this.defaultStyle = (defaultStyle != null) ? (IStyle)defaultStyle.Clone() : null; }
public GradientThemeItem(IStyle style, string label, string range) { this.label = label; this.style = (IStyle) style.Clone(); this.range = range; }
public QuantityThemeItem(Interval interval, IStyle style) { Interval = interval; this.style = (IStyle)style.Clone(); }
public QuantityThemeItem(Interval interval, IStyle style) { Interval = interval; this.style = (IStyle) style.Clone(); }
public QuantityTheme(string attributeName, IStyle defaultStyle) { this.attributeName = attributeName; this.defaultStyle = (IStyle)defaultStyle.Clone(); }
public GradientThemeItem(IStyle style, string label, string range) { this.label = label; this.style = (IStyle)style.Clone(); this.range = range; }