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

x/deno_chart/deps.ts>SkPicture

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

See SkPicture.h for more information on this class.

Of note, SkPicture is not what is colloquially thought of as a "picture" (what we call a bitmap). An SkPicture is a series of draw commands.

Methods

serialize(): SkData

Returns the serialized format of this SkPicture. The format may change at anytime and no promises are made for backwards or forward compatibility.