UNPKG

canvas-editor-pdf

Version:
12 lines (10 loc) 418 B
import { Context2d } from 'jspdf'; import { NumberType } from '../../../dataset/enum/Common'; import { DrawPdf } from '../DrawPdf'; export declare class PageNumber { private draw; private options; constructor(draw: DrawPdf); static formatNumberPlaceholder(text: string, pageNo: number, replaceReg: RegExp, numberType: NumberType): string; render(ctx2d: Context2d, pageNo: number): void; }