public object Clone() { LineSeriesTheme theme = new LineSeriesTheme(); StyleBase light = this.GetStyle(eThemeMode.Light).Clone(); StyleBase dark = this.GetStyle(eThemeMode.Dark).Clone(); theme.AddStyle(eThemeMode.Light, light); theme.AddStyle(eThemeMode.Dark, dark); return(theme); }
public virtual void AddStyle(eThemeMode mode, StyleBase style) { _styles[mode] = style; }