Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/canvas/src/canvaskit.ts>ManagedSkottieAnimation

Canvas API for Deno, ported from canvaskit-wasm (Skia).
Latest
interface ManagedSkottieAnimation
implements SkottieAnimation
import { type ManagedSkottieAnimation } from "https://deno.land/x/canvas@v1.4.2/src/canvaskit.ts";

Methods

setColor(key: string, color: InputColor): boolean
setOpacity(key: string, opacity: number): boolean
setText(
key: string,
text: string,
size: number,
): boolean
getMarkers(): AnimationMarker[]
getColorProps(): ColorProperty[]
getOpacityProps(): OpacityProperty[]
getTextProps(): TextProperty[]