Skip to content

RenderParameters

Unofficial

Parameters for rendering a PDF page.

Import:

import type { RenderParameters } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface RenderParameters

Properties

PropertyTypeDescription
background?stringBackground color for the canvas.
canvasContextCanvasRenderingContext2DThe 2D canvas rendering context to draw on.
intent?stringRendering intent.
transform?number[]Additional transform matrix.
viewportPageViewportThe viewport to use for rendering.