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

x/deno_chart/deps.ts>SkPictureRecorder

A graph library for deno. Inspired by Chart.js. A simpler implementation for basic bar graphs that save to an image.
Latest
interface SkPictureRecorder
implements EmbindObject<SkPicture>
import { type SkPictureRecorder } from "https://deno.land/x/deno_chart@1.1.0/deps.ts";

Methods

beginRecording(bounds: InputRect): SkCanvas

Returns a canvas on which to draw. When done drawing, call finishRecordingAsPicture()

finishRecordingAsPicture(): SkPicture

Returns the captured draw commands as a picture and invalidates the canvas returned earlier.