RenderParameters
Unofficial
Parameters for rendering a PDF page.
Import:
import type { RenderParameters } from '@obsidian-typings/obsidian-public-latest';Signature:
export interface RenderParametersProperties
| Property | Type | Description | |
|---|---|---|---|
| background? | string | Background color for the canvas. | |
| canvasContext | CanvasRenderingContext2D | The 2D canvas rendering context to draw on. | |
| intent? | string | Rendering intent. | |
| transform? | number[] | Additional transform matrix. | |
| viewport | PageViewport | The viewport to use for rendering. |