/** * @author Martin Karkowski * @email m.karkowski@zema.de * @create date 2019-02-21 09:10:02 * @modify date 2019-02-21 09:10:02 * @desc [description] */ export interface IFontStyle { color?: string; size?: number; face?: string; vadjust?: number; mod?: 'bold' | 'italic' | '' | 'bold italic'; } export type IFont = string | { color?: string, size?: number face?: string, background?: string, strokeWidth?: number strokeColor?: string, align?: 'center' | 'left' | 'right', multi?: boolean | 'html' | 'md' | 'markdown', vadjust?: number, bold?: IFontStyle | boolean | string, ital?: IFontStyle | boolean | string, boldital?: IFontStyle | boolean | string, mono?: IFontStyle | boolean | string };