UNPKG

scichart

Version:

Fast WebGL JavaScript Charting Library and Framework

11 lines (10 loc) 546 B
/** * Creates the font string, which is used to set font on CanvasRenderingContext2D * @param fontStyle The font style * @param fontWeight The font weight * @param fontSize The font size in pixels * @param fontFamily The font family */ export declare const getFontString: (fontStyle: string, fontWeight: string | undefined, fontSize: number, fontFamily: string) => string; export declare const DEFAULT_FONT_FAMILY = "DEFAULT_FONT_FAMILY"; export declare const getFontFamily: (fontFamily: string, isNativeFont: boolean) => string;