View as Markdown

API reference: @salmonui/export/graphics

GraphicsPdfPageinterface

import type { GraphicsPdfPage } from '@salmonui/export/graphics';
interface GraphicsPdfPage {
    readonly svg: string;
}

One drawing per page.

GraphicsPdfPage members (1)
NameSignatureDescription
svgreadonly svg: string;

Standalone SVG markup (<svg xmlns=...>) with resolved colors.