async-pdf
Version:
Create, Modify and Merge PDF Files
16 lines (15 loc) • 550 B
TypeScript
import { PDFRGBA } from "../interfaces/rgb";
import { PDFFontTypes } from "../types/fontTypes";
import { PDFPageOrientationTypes } from "../types/pageOrientationTypes";
import { PDFUnitTypes } from "../types/unitTypes";
import { PDFPageSize } from "./pageSize";
import { PDFPageSpacing } from "./pageSpacing";
export interface PDFCreateOptions {
unit: PDFUnitTypes;
orientation?: PDFPageOrientationTypes;
pageSize?: PDFPageSize;
pageSpacing?: PDFPageSpacing;
font?: PDFFontTypes;
fontSize?: number;
fontColor?: PDFRGBA;
}