html-to-image
Version:
Generates an image from a DOM node using HTML5 canvas and SVG.
5 lines (4 loc) • 319 B
TypeScript
import { Options } from './index';
export declare function parseWebFontRules(clonedNode: HTMLElement): Promise<CSSRule[]>;
export declare function embedWebFonts(clonedNode: HTMLElement, options: Options): Promise<HTMLElement>;
export declare function getCssRules(styleSheets: CSSStyleSheet[]): Promise<CSSStyleRule[]>;