Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/dwm/ext/canvas.ts>Canvas#toDataURL

Deno Window Manager: Cross-platform window creation and management
Go to Latest
method Canvas.prototype.toDataURL
Re-export
import { Canvas } from "https://deno.land/x/dwm@0.3.2/ext/canvas.ts";

Creates a data url from the canvas data

Parameters

optional
format: ImageFormat = [UNSUPPORTED]
optional
quality = [UNSUPPORTED]