scichart
Version:
Fast WebGL JavaScript Charting Library and Framework
11 lines (10 loc) • 535 B
TypeScript
/**
* 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 getDefaultFontName: () => string;
export declare const getFontFamily: (fontFamily: string, isNativeFont: boolean) => string;