Module

x/canvas/types.ts

Canvas API for Deno, ported from canvaskit-wasm (Skia).
Go to Latest
interface TextStyleConstructor
import { type TextStyleConstructor } from "https://deno.land/x/canvas@v1.0.0/types.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).