FontElement.d.ts 712 B

1234567891011121314151617
  1. import Document from './Document';
  2. import Element from './Element';
  3. import FontFaceElement from './FontFaceElement';
  4. import MissingGlyphElement from './MissingGlyphElement';
  5. import GlyphElement from './GlyphElement';
  6. export default class FontElement extends Element {
  7. type: string;
  8. readonly isArabic: boolean;
  9. readonly missingGlyph: MissingGlyphElement;
  10. readonly glyphs: Record<string, GlyphElement | Record<string, GlyphElement>>;
  11. readonly horizAdvX: number;
  12. readonly isRTL: boolean;
  13. readonly fontFace: FontFaceElement;
  14. constructor(document: Document, node: HTMLElement, captureTextNodes?: boolean);
  15. render(): void;
  16. }
  17. //# sourceMappingURL=FontElement.d.ts.map