scichart
Version:
Fast WebGL JavaScript Charting Library and Framework
9 lines (8 loc) • 375 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, fontSize: number, fontFamily: string) => string;