DocumentFormat
A document format is either a pixel sheet (decks) or a physical print size with a capture `dpi` and optional `bleed`.
A document format is either a pixel sheet (decks) or a physical print size
with a capture dpi and optional bleed. The union keeps a physical width
from ever pairing with a pixel height.
Import from @homepages/template-kit.
Signature
Section titled “Signature”export type DocumentFormat = FormatIdentity & ({ readonly width: number; readonly height: number;} | { readonly width: PhysicalLength; readonly height: PhysicalLength; readonly dpi: number; readonly bleed?: PhysicalLength;});See also
Section titled “See also”captureViewportframeTokensprintPageSizeresolveFormatGeometrysettleCaptureCAPTURE_HAS_ISLANDS_EXPRESSIONCAPTURE_ISLAND_PAINT_GRACE_EXPRESSIONCAPTURE_ISLAND_PAINT_GRACE_MSCAPTURE_ISLAND_QUIET_WINDOW_MSCAPTURE_ISLAND_SETTLE_TIMEOUT_MSCAPTURE_ISLANDS_READY_EXPRESSIONCAPTURE_ISLANDS_READY_GLOBALCAPTURE_READY_EXPRESSIONCAPTURE_WAIT_UNTILFRAME_ROOT_CLASSCaptureSettleHostCaptureViewportFormatIdentityFrameTokensPrintPageSizeResolvedFormatGeometryImageFormatPhysicalLength