site/node_modules/mathjax-full/js/output/svg/FontCache.d.ts

15 lines
441 B
TypeScript
Raw Permalink Normal View History

2024-10-14 06:09:33 +00:00
import { SVG } from '../svg.js';
export declare class FontCache<N, T, D> {
protected jax: SVG<N, T, D>;
protected cache: Map<string, string>;
protected defs: N;
protected localID: string;
protected nextID: number;
constructor(jax: SVG<N, T, D>);
cachePath(variant: string, C: string, path: string): string;
clearLocalID(): void;
useLocalID(id?: string): void;
clearCache(): void;
getCache(): N;
}