Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/canvas/types.ts>ParagraphStyleConstructor

Canvas API for Deno, ported from canvaskit-wasm (Skia).
Go to Latest
interface ParagraphStyleConstructor
import { type ParagraphStyleConstructor } 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).