UNPKG

807 BTypeScriptView Raw
1import { Document } from './Document';
2import { Element } from './Element';
3import { FontFaceElement } from './FontFaceElement';
4import { MissingGlyphElement } from './MissingGlyphElement';
5import { ArabicForm, GlyphElement } from './GlyphElement';
6export declare class FontElement extends Element {
7 type: string;
8 readonly isArabic: boolean;
9 readonly missingGlyph: MissingGlyphElement | undefined;
10 readonly glyphs: Record<string, GlyphElement>;
11 readonly arabicGlyphs: Record<string, Partial<Record<ArabicForm, GlyphElement>>>;
12 readonly horizAdvX: number;
13 readonly isRTL: boolean;
14 readonly fontFace: FontFaceElement | undefined;
15 constructor(document: Document, node: HTMLElement, captureTextNodes?: boolean);
16 render(): void;
17}
18//# sourceMappingURL=FontElement.d.ts.map
\No newline at end of file