devexpress-richedit
Version:
DevExpress Rich Text Editor is an advanced word-processing tool designed for working with rich text documents.
13 lines (12 loc) • 532 B
TypeScript
import { ControlFont } from '../fonts/control-font';
import { ControlFontType } from '../fonts/font-info';
export declare class ControlFontsCache {
private cache;
list: ControlFont[];
addFont(info: ControlFont): ControlFont;
getFontByKey(cacheKey: string): ControlFont | undefined;
getFont(info: ControlFont): ControlFont | undefined;
deleteFont(info: ControlFont): void;
clone(): ControlFontsCache;
findSimularFontByType(fontFamily: string, type: ControlFontType): ControlFont | null;
}