DocumentSpec

data class DocumentSpec(val metadata: PdfMetadata, val pages: List<PageSpec>, val customFonts: List<PdfFont.Custom>)

Resolved, immutable description of a document. Produced by the DSL builders and consumed by the layout engine + renderer. Library users normally never see this type — they go through pdf { ... } instead.

Constructors

Link copied to clipboard
constructor(metadata: PdfMetadata, pages: List<PageSpec>, customFonts: List<PdfFont.Custom>)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard