Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/shapes_plus/mod.ts>PdfDocument#save

Used canvas library to make shapes
Latest
method PdfDocument.prototype.save
import { PdfDocument } from "https://deno.land/x/shapes_plus@v0.0.5.1/mod.ts";

Saves PDF to the file and closes the stream. Changes cannot be made to PDF after this.

Parameters

path: string