Skip to main content
Module

x/canvas/mod.ts>TextStyleConstructor

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

Methods

Fills out all optional fields with defaults. The emscripten bindings complain if there is a field undefined and it was expecting a float (for example).