ResolvedFormatGeometry
A format's resolved rendering geometry.
A format’s resolved rendering geometry. All CSS-px fields carry the exact value (they feed the frame tokens); device pixels are rounded, because that is where capture quantizes; PDF points carry the exact value, so physical size survives to the printer verbatim.
Import from @homepages/template-kit.
Signature
Section titled “Signature”export interface ResolvedFormatGeometry { readonly frameWidth: number; readonly frameHeight: number; readonly bleed: number; readonly viewportWidth: number; readonly viewportHeight: number; readonly deviceScaleFactor: number; readonly pixelWidth: number; readonly pixelHeight: number; readonly pointWidth: number; readonly pointHeight: number; readonly bleedPoints: number;}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_CLASSCaptureSettleHostCaptureViewportFormatIdentityFrameTokensPrintPageSizeDocumentFormatImageFormatPhysicalLength