public Visualizer( IColorScheme colorScheme, IFontScheme fontScheme, Color backgroundColor, Size imageSize) { this.colorScheme = colorScheme; this.fontScheme = fontScheme; BackgroundColor = backgroundColor; Size = imageSize; }
/// <summary> /// Initializes a new instance of the <see cref="T:Dt.Xls.ExcelTheme" /> class. /// </summary> /// <param name="name">The name.</param> /// <param name="colorScheme">The color scheme.</param> /// <param name="fontScheme">The font scheme.</param> public ExcelTheme(string name, IColorScheme colorScheme, IFontScheme fontScheme) { if (string.IsNullOrWhiteSpace(name)) { throw new ArgumentNullException("name"); } if (colorScheme == null) { throw new ArgumentNullException("colorScheme"); } if (fontScheme == null) { throw new ArgumentNullException("fontScheme"); } this.Name = name; this.ColorScheme = colorScheme; this.FontScheme = fontScheme; }
public static void ApplyFontSchemeToAll <T> (IFontScheme fontScheme) where T : ITextInputController { ApplyFontSchemeToAll(fontScheme, typeof(T)); }
public static void ApplyFontSchemeToTextField(IFontScheme fontScheme, TextField textField) { ApplyFontScheme(fontScheme, textField); }
public static void ApplyFontSchemeToTextInputController(IFontScheme fontScheme, ITextInputController textInputController) { ApplyFontScheme(fontScheme, textInputController); }
public static void ApplyFontSchemeToAll(IFontScheme fontScheme, Type textInputControllerType) { ApplyFontSchemeToAll(fontScheme, new Class(textInputControllerType)); }