modern-pdf-lib / drawSvgOnPage
Function: drawSvgOnPage()
drawSvgOnPage(
page,svgString,options?):void
Defined in: src/assets/svg/svgToPdf.ts:471
Draw an SVG string onto a PDF page.
Parses the SVG, converts it to PDF operators, and appends them to the page's content stream.
Parameters
page
svgString
string
options?
Returns
void