PDFB
A pdf building library for nodejs hehe.
!! DOCUMENTATION IN PROGRESS !!
TODO
- PdfBuilder
- save document
save(options?: { render: true, savePath: '' })
- Save path setters / getters
setSavePath(path: string): string; getSavePath(): string;
DONE
Section.class
calculate start, end, size based of the elements inside- basically a way of creating a wrapper (background) that covers all elements of a section
Page
- Stores individual page data
Section[]
PdfBuilder.class
stores a page arrayPage[]
Fix padding handling inside
PdfBuilder
- Padding should affect the document start/end positions