canvas-editor-pdf
Version:
pdf exporter to canvas-editor
10 lines (8 loc) • 399 B
TypeScript
import { Context2d } from 'jspdf';
import { IElement } from '../../../../interface/Element';
import { ImageParticle } from '../ImageParticle';
import { LaTexSVG } from './utils/LaTexUtils';
export declare class LaTexParticle extends ImageParticle {
static convertLaTextToSVG(laTex: string): LaTexSVG;
render(ctx2d: Context2d, element: IElement, x: number, y: number): Promise<void>;
}