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

x/skia_canvas/src/svgcanvas.ts>SvgCanvas#encode

Fast HTML Canvas API implementation for Deno using Skia.
Go to Latest
method SvgCanvas.prototype.encode
import { SvgCanvas } from "https://deno.land/x/skia_canvas@0.2.0/src/svgcanvas.ts";

Encode and return buffer containing SVG data