canvas-editor-pdf
Version:
pdf exporter to canvas-editor
13 lines (11 loc) • 363 B
TypeScript
import { Context2d } from 'jspdf';
import { DrawPdf } from '../DrawPdf';
export declare class Watermark {
private draw;
private options;
private imageCache;
constructor(draw: DrawPdf);
renderText(ctx2d: Context2d, pageNo: number): void;
renderImage(ctx2d: Context2d): void;
render(ctx2d: Context2d, pageNo: number): void;
}