Skip to main content


Canvas API for Deno, ported from canvaskit-wasm (Skia).
Go to Latest
interface SkPicture
implements EmbindObject<SkPicture>
import { type SkPicture } from "";

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.


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.