Skip to main content
Module

x/canvas/mod.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.1/mod.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[]