OptionalafterOptionalbackgroundOptionaldpiRaster density of each page in pixels per inch. Default 144.
OptionalelementElement adapters used for extension bounds and rendering.
OptionalexpectedhtmlTypes that must route to canvas even before a painter for them is
registered — lets a host declare intent up front (mirrors HtmlPainterRegistry.expect).
OptionalfilterOptionalframeOne page per root frame, in this order. Omitted: one page for the whole board.
OptionalhtmlRegistry of canvas-backed html painters, keyed by htmlType. When absent (or when
an element's htmlType isn't claimed), html elements fall back to the legacy
DOM-raster path (renderHtml).
OptionalhtmlMaximum wait for each HTML renderer. Defaults to 10 seconds.
OptionalimageMaximum wait for each image asset and font file. Defaults to 10 seconds.
OptionallinksDefault true; false omits link annotations.
OptionalmarginPage margin in points. Default 36.
OptionalmaxMaximum width or height of any allocated export canvas. Defaults to 16,384.
OptionalmaxMaximum pixel count of any allocated export canvas. Defaults to 67,108,864.
OptionalonCalled when an image cannot be loaded or embedded. The export continues.
OptionalonCalled when an HTML embed cannot be rendered or encoded. The export continues.
OptionalorientationDefault 'auto': landscape when the page content is wider than tall.
OptionalpaddingOptionalpageDefault 'a4'. A4 is 595.28 × 841.89 pt, Letter 612 × 792 pt.
OptionalrenderPer-surface hooks installed by viewport plugins.
OptionalrenderConverts an application-owned HTML embed into a ready canvas image source.
OptionalrequiredRender capabilities the export must satisfy, added to the registry's stored requirement.
OptionalstrictWhen true, a canvas-routed html element with no active painter throws
HtmlPainterMissingError instead of reporting onHtmlError and continuing.
DOM-routed html elements are never affected — a missing renderHtml stays
a non-fatal 'unsupported' diagnostic regardless of this flag.
OptionalthemeTheme the export draws with. Direct exports default to light; viewport exports use its theme.
Options for raster PDF export.