semantics.d.ts 1.0 KB

123456789101112131415161718192021222324252627
  1. import { CHTMLWrapper, CHTMLConstructor } from '../Wrapper.js';
  2. import { BBox } from '../../../util/BBox.js';
  3. import { StyleList } from '../../../util/StyleList.js';
  4. declare const CHTMLsemantics_base: import("../../common/Wrappers/semantics.js").SemanticsConstructor & CHTMLConstructor<any, any, any>;
  5. export declare class CHTMLsemantics<N, T, D> extends CHTMLsemantics_base {
  6. static kind: string;
  7. toCHTML(parent: N): void;
  8. }
  9. export declare class CHTMLannotation<N, T, D> extends CHTMLWrapper<N, T, D> {
  10. static kind: string;
  11. toCHTML(parent: N): void;
  12. computeBBox(): BBox;
  13. }
  14. export declare class CHTMLannotationXML<N, T, D> extends CHTMLWrapper<N, T, D> {
  15. static kind: string;
  16. static styles: StyleList;
  17. }
  18. export declare class CHTMLxml<N, T, D> extends CHTMLWrapper<N, T, D> {
  19. static kind: string;
  20. static autoStyle: boolean;
  21. toCHTML(parent: N): void;
  22. computeBBox(bbox: BBox, _recompute?: boolean): void;
  23. protected getStyles(): void;
  24. protected getScale(): void;
  25. protected getVariant(): void;
  26. }
  27. export {};